|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MuleProxy
is a proxy to a UMO. It is a poolable object that that
can be executed in it's own thread.
Method Summary | |
UMOImmutableDescriptor |
getDescriptor()
|
ComponentStatistics |
getStatistics()
|
void |
handleException(Exception exception)
When an exception occurs this method can be called to invoke the configured UMOExceptionStrategy on the UMO |
boolean |
isSuspended()
Determines if the proxy is suspended |
Object |
onCall(UMOEvent event)
Makes a synchronous call on the UMO |
void |
onEvent(QueueSession session,
UMOEvent event)
Sets the current event being processed |
void |
resume()
Triggers the UMO to resume processing of events if it is suspended |
void |
setStatistics(ComponentStatistics stat)
|
void |
suspend()
Controls the suspension of the UMO event processing |
Methods inherited from interface javax.resource.spi.work.Work |
release |
Methods inherited from interface java.lang.Runnable |
run |
Methods inherited from interface org.mule.umo.lifecycle.Startable |
start |
Methods inherited from interface org.mule.umo.lifecycle.Stoppable |
stop |
Methods inherited from interface org.mule.umo.lifecycle.Disposable |
dispose |
Method Detail |
public void onEvent(QueueSession session, UMOEvent event)
event
- the event being processedpublic ComponentStatistics getStatistics()
public void setStatistics(ComponentStatistics stat)
public Object onCall(UMOEvent event) throws UMOException
event
- the event to pass to the UMO
UMOException
- if the call failspublic void handleException(Exception exception)
exception
- If the UMOExceptionStrategy implementation failspublic boolean isSuspended()
public void suspend()
public void resume()
public UMOImmutableDescriptor getDescriptor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |