|
|||||||||
| 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.lifecycle.AbstractScheduledManagedLifecycle
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 |
doScheduledDestroy()
Handle the scheduled destroy of the managed instance. |
void |
onSchedule()
On schedule event processor implementation. |
| Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractScheduledManagedLifecycle |
|---|
doDestroy, doInitialise, doStart, doStop |
| 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 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 class AbstractScheduledManagedLifecycleSchedulingException - Error processing scheduled event.
protected void doScheduledDestroy()
throws ManagedLifecycleException
AbstractScheduledManagedLifecycle
doScheduledDestroy in class AbstractScheduledManagedLifecycleManagedLifecycleException - for errors while destroying.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||