|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.providers.AbstractMessageDispatcher
AbstractMessageDispatcher
TODO (document class)
Field Summary | |
protected AbstractConnector |
connector
|
protected boolean |
disposed
|
protected boolean |
disposeOnCompletion
|
protected boolean |
doThreading
|
protected Log |
logger
logger used by this class |
protected UMOWorkManager |
workManager
Thread pool of Connector sessions |
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatcher |
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY |
Constructor Summary | |
AbstractMessageDispatcher(AbstractConnector connector)
|
Method Summary | |
void |
dispatch(UMOEvent event)
Dispatches an event from the endpoint to the external system |
void |
dispose()
Template method to destroy any resources. |
abstract void |
doDispatch(UMOEvent event)
|
abstract void |
doDispose()
|
abstract UMOMessage |
doSend(UMOEvent event)
|
void |
exceptionThrown(java.lang.Exception e)
|
UMOConnector |
getConnector()
|
boolean |
isDisposed()
|
UMOMessage |
send(UMOEvent event)
Sends an event from the endpoint to the external system |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mule.umo.provider.UMOMessageDispatcher |
getDelegateSession, receive |
Field Detail |
protected transient Log logger
protected UMOWorkManager workManager
protected boolean disposeOnCompletion
protected AbstractConnector connector
protected boolean disposed
protected boolean doThreading
Constructor Detail |
public AbstractMessageDispatcher(AbstractConnector connector)
Method Detail |
public final void dispatch(UMOEvent event) throws java.lang.Exception
UMOMessageDispatcher
dispatch
in interface UMOMessageDispatcher
event
- The event to dispatch
java.lang.Exception
- if the event fails to be dispatchedpublic final UMOMessage send(UMOEvent event) throws java.lang.Exception
UMOMessageDispatcher
send
in interface UMOMessageDispatcher
event
- The event to send
java.lang.Exception
- if the event fails to be dispatchedpublic void exceptionThrown(java.lang.Exception e)
exceptionThrown
in interface java.beans.ExceptionListener
public boolean isDisposed()
isDisposed
in interface UMOMessageDispatcher
public final void dispose()
dispose
in interface Disposable
public UMOConnector getConnector()
getConnector
in interface UMOMessageDispatcher
public abstract void doDispose()
public abstract void doDispatch(UMOEvent event) throws java.lang.Exception
java.lang.Exception
public abstract UMOMessage doSend(UMOEvent event) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |