|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UMOComponent is the interal repesentation of a Mule Managed
component. It is responsible for managing the interaction of events to and from
the component as well as managing pooled resources.
| Method Summary | |
void |
dispatchEvent(UMOEvent event)
Makes an asynhronous event call to the component. |
UMODescriptor |
getDescriptor()
|
Object |
getInstance()
Gets the underlying instance form this component Where the Component implmentation provides pooling this is no 1-2-1 mapping between UMOComponent and instance, so this method will return the object in initial state. |
boolean |
isPaused()
True if the component is in a paused state, false otherwise |
boolean |
isStarted()
Determines whether this component has been started |
void |
pause()
Pauses event processing for a single Mule Component. |
void |
resume()
Resumes a single Mule Component that has been paused. |
UMOMessage |
sendEvent(UMOEvent event)
Makes a synhronous event call to the component. |
| 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 |
| Methods inherited from interface org.mule.umo.lifecycle.Initialisable |
initialise |
| Method Detail |
public UMODescriptor getDescriptor()
UMODescriptor
public void dispatchEvent(UMOEvent event)
throws UMOException
event - the event to consume
UMOException - if the event fails to be processed
public UMOMessage sendEvent(UMOEvent event)
throws UMOException
event - the event to consume
UMOException - if the event fails to be processedpublic boolean isStarted()
public Object getInstance()
throws UMOException
UMOException
public void pause()
throws UMOException
UMOException
public void resume()
throws UMOException
UMOExceptionpublic boolean isPaused()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||