org.apache.servicemix.jbi.deployer.artifacts
Class AbstractLifecycleJbiArtifact
java.lang.Object
org.apache.servicemix.jbi.deployer.artifacts.AbstractLifecycleJbiArtifact
- All Implemented Interfaces:
- javax.jbi.management.LifeCycleMBean
- Direct Known Subclasses:
- ComponentImpl, ServiceAssemblyImpl
public abstract class AbstractLifecycleJbiArtifact
- extends Object
- implements javax.jbi.management.LifeCycleMBean
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jbi.management.LifeCycleMBean |
shutDown, start, stop |
STATE
public static final String STATE
- See Also:
- Constant Field Values
logger
protected final org.slf4j.Logger logger
state
protected AbstractLifecycleJbiArtifact.State state
storage
protected Storage storage
runningState
protected AbstractLifecycleJbiArtifact.State runningState
listenerRegistry
protected org.apache.servicemix.nmr.api.event.ListenerRegistry listenerRegistry
AbstractLifecycleJbiArtifact
public AbstractLifecycleJbiArtifact()
getState
public AbstractLifecycleJbiArtifact.State getState()
getRunningState
public AbstractLifecycleJbiArtifact.State getRunningState()
getListenerRegistry
public org.apache.servicemix.nmr.api.event.ListenerRegistry getListenerRegistry()
setListenerRegistry
public void setListenerRegistry(org.apache.servicemix.nmr.api.event.ListenerRegistry listenerRegistry)
getCurrentState
public String getCurrentState()
- Specified by:
getCurrentState in interface javax.jbi.management.LifeCycleMBean
loadState
protected AbstractLifecycleJbiArtifact.State loadState(AbstractLifecycleJbiArtifact.State def)
saveState
protected void saveState()
fireEvent
protected void fireEvent(LifeCycleEvent.LifeCycleEventType type)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
fireEvent
protected void fireEvent(LifeCycleEvent.LifeCycleEventType type,
boolean force)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.