org.apache.servicemix.jbi.management
Class BaseSystemService
java.lang.Object
org.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.jbi.management.BaseSystemService
- All Implemented Interfaces:
- javax.jbi.management.LifeCycleMBean, MBeanInfoProvider
- Direct Known Subclasses:
- AdminCommandsService, AutoDeploymentService, ClientFactory, DefaultBroker, DeploymentService, DotViewService, EnvironmentContext, InstallationService, LogService, ManagementContext, Registry, StatisticsService
public abstract class BaseSystemService
- extends BaseLifeCycle
| 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, getOperationInfos, getSubType, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected JBIContainer container
BaseSystemService
public BaseSystemService()
getName
public String getName()
- Get the name of the item
- Specified by:
getName in interface MBeanInfoProvider- Overrides:
getName in class BaseLifeCycle
- Returns:
- the name
getType
public String getType()
- Get the type of the item
- Specified by:
getType in interface MBeanInfoProvider- Overrides:
getType in class BaseLifeCycle
- Returns:
- the type
init
public void init(JBIContainer cont)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
shutDown
public void shutDown()
throws javax.jbi.JBIException
- Description copied from class:
BaseLifeCycle
- Shut down the item. The releases resources, preparatory to
uninstallation.
- Specified by:
shutDown in interface javax.jbi.management.LifeCycleMBean- Overrides:
shutDown in class BaseLifeCycle
- Throws:
javax.jbi.JBIException - if the item fails to shut down.
getServiceMBean
protected abstract Class getServiceMBean()
getContainer
public JBIContainer getContainer()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.