org.apache.servicemix.jbi.view
Class DotViewService
java.lang.Object
org.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.jbi.management.BaseSystemService
org.apache.servicemix.jbi.view.DotViewService
- All Implemented Interfaces:
- javax.jbi.management.LifeCycleMBean, MBeanInfoProvider, DotViewServiceMBean, org.springframework.beans.factory.InitializingBean
public class DotViewService
- extends BaseSystemService
- implements org.springframework.beans.factory.InitializingBean, DotViewServiceMBean
- Author:
- gnodet
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
firePropertyChanged, getAttributeInfos, getCurrentState, getObjectToManage, getSubType, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotViewService
public DotViewService()
isAutoStart
public boolean isAutoStart()
setAutoStart
public void setAutoStart(boolean autoStart)
getContainer
public JBIContainer getContainer()
- Overrides:
getContainer in class BaseSystemService
setContainer
public void setContainer(JBIContainer container)
getServiceMBean
protected Class getServiceMBean()
- Specified by:
getServiceMBean in class BaseSystemService
getDescription
public String getDescription()
- Description copied from interface:
MBeanInfoProvider
- Get the Description of the item
- Specified by:
getDescription in interface MBeanInfoProvider
- Returns:
- the description
start
public void start()
throws javax.jbi.JBIException
- Description copied from class:
BaseLifeCycle
- Start the item.
- Specified by:
start in interface javax.jbi.management.LifeCycleMBean- Overrides:
start in class BaseLifeCycle
- Throws:
javax.jbi.JBIException - if the item fails to start.
stop
public void stop()
throws javax.jbi.JBIException
- Description copied from class:
BaseLifeCycle
- Stop the item. This suspends current messaging activities.
- Specified by:
stop in interface javax.jbi.management.LifeCycleMBean- Overrides:
stop in class BaseLifeCycle
- Throws:
javax.jbi.JBIException - if the item fails to stop.
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
createEndpointGraph
public String createEndpointGraph()
throws Exception
- Specified by:
createEndpointGraph in interface DotViewServiceMBean
- Throws:
Exception
createFlowGraph
public String createFlowGraph()
throws Exception
- Specified by:
createFlowGraph in interface DotViewServiceMBean
- Throws:
Exception
getOperationInfos
public MBeanOperationInfo[] getOperationInfos()
throws JMException
- Get an array of MBeanOperationInfo
- Specified by:
getOperationInfos in interface MBeanInfoProvider- Overrides:
getOperationInfos in class BaseLifeCycle
- Returns:
- array of OperationInfos
- Throws:
JMException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.