|
|||||||||
| 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.listeners.ScheduleListener
public class ScheduleListener
ESB Schedule listener.
| Field Summary |
|---|
| Fields inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
PARAM_TERMINATION_PERIOD |
| Constructor Summary | |
|---|---|
ScheduleListener(ConfigTree config)
Construct the managed lifecycle. |
|
| 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. |
void |
initialize(ConfigTree config)
Initialize. |
void |
onSchedule()
On schedule event processor implementation. |
void |
uninitialize()
Uninitialize. |
| Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
addManagedLifecycleEventListener, changeState, destroy, getConfig, 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 ScheduleListener(ConfigTree config)
throws ConfigurationException
config - The configuration associated with this instance.
ConfigurationException - for configuration errors during initialisation.| Method Detail |
|---|
public void onSchedule()
throws SchedulingException
onSchedule in interface ScheduledEventListenerSchedulingException - Error processing scheduled event.
protected void doInitialise()
throws ManagedLifecycleException
AbstractManagedLifecycle
doInitialise in class AbstractManagedLifecycleManagedLifecycleException - for errors while initialisation.
public void initialize(ConfigTree config)
throws ConfigurationException
Initializable
initialize in interface Initializableconfig - The configuration.
ConfigurationExceptionpublic void uninitialize()
Initializable
uninitialize in interface Initializable
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 | ||||||||