|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle
org.jboss.soa.esb.mock.MockListener
public class MockListener
Mock listener implementation.
| Field Summary |
|---|
| Fields inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
PARAM_TERMINATION_PERIOD |
| Constructor Summary | |
|---|---|
MockListener(ConfigTree config)
|
|
| Method Summary | |
|---|---|
protected void |
doDestroy()
Handle the destroy of the managed instance. |
protected void |
doInitialise()
Handle the initialisation of the managed instance. |
protected void |
doStart()
Handle the start of the managed instance. |
protected void |
doStop()
Handle the stop of the managed instance. |
| Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
addManagedLifecycleEventListener, changeState, destroy, getConfig, getLifecycleController, getState, getTerminationPeriod, initialise, removeManagedLifecycleEventListener, start, stop, waitUntilDestroyed, waitUntilDestroyed, waitUntilNotState, waitUntilState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockListener(ConfigTree config)
throws ConfigurationException
ConfigurationException| Method Detail |
|---|
protected void doInitialise()
throws ManagedLifecycleException
AbstractManagedLifecycle
doInitialise in class AbstractManagedLifecycleManagedLifecycleException - for errors while initialisation.
protected void doStart()
throws ManagedLifecycleException
AbstractManagedLifecycle
doStart in class AbstractManagedLifecycleManagedLifecycleException - for errors while starting.
protected void doStop()
throws ManagedLifecycleException
AbstractManagedLifecycle
doStop in class AbstractManagedLifecycleManagedLifecycleException - for errors while stopping.
protected void doDestroy()
throws ManagedLifecycleException
AbstractManagedLifecycle
doDestroy in class AbstractManagedLifecycleManagedLifecycleException - for errors while destroying.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||