|
|||||||||
| 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.AbstractThreadedManagedLifecycle
org.jboss.soa.esb.listeners.message.MessageAwareListener
public class MessageAwareListener
Esb Message aware transport independent listener.
Relies on the CourierFactory to obtain an appropriate Courier for the EPR this listener will be listening on
| Field Summary |
|---|
| Fields inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
PARAM_TERMINATION_PERIOD |
| Constructor Summary | |
|---|---|
MessageAwareListener(ConfigTree config)
public constructor |
|
| Method Summary | |
|---|---|
protected void |
checkMyParms()
Check for mandatory and optional attributes in parameter tree |
protected void |
doDestroy()
Handle the destroy of the managed instance. |
protected void |
doInitialise()
Handle the initialisation of the managed instance. |
protected void |
doRun()
Execute on the thread. |
protected void |
doStart()
Handle the start of the managed instance. |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
void |
waitForEventAndProcess(long maxWaitMillis)
|
| Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle |
|---|
addManagedLifecycleThreadEventListener, doStop, isRunning, isStopped, isStopping, removeManagedLifecycleThreadEventListener, run, setRunning, waitForRunningStateChange, waitUntilStopped, waitUntilStopped |
| Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
|---|
addManagedLifecycleEventListener, changeState, destroy, getState, getTerminationPeriod, initialise, removeManagedLifecycleEventListener, start, stop, waitForStateChange, waitUntilDestroyed, waitUntilDestroyed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageAwareListener(ConfigTree config)
throws ConfigurationException
config - ConfigTree - Containing 'static' configuration for this
instance
ConfigurationException| Method Detail |
|---|
protected void checkMyParms()
throws ConfigurationException
ConfigurationException - -
if mandatory atts are not right or actionClass not in
classpath
protected void doInitialise()
throws ManagedLifecycleException
doInitialise in class AbstractManagedLifecycleManagedLifecycleException - for errors while initialisation.
protected void doStart()
throws ManagedLifecycleException
doStart in class AbstractThreadedManagedLifecycleManagedLifecycleException - for errors while starting.protected void doRun()
doRun in class AbstractThreadedManagedLifecyclepublic void waitForEventAndProcess(long maxWaitMillis)
protected void doDestroy()
throws ManagedLifecycleException
doDestroy in class AbstractThreadedManagedLifecycleManagedLifecycleException - for errors while destroying.
public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||