org.mule.impl.model.direct
Class DirectComponent
java.lang.Object
org.mule.impl.model.AbstractComponent
org.mule.impl.model.direct.DirectComponent
- All Implemented Interfaces:
- Serializable, Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOComponent
- Direct Known Subclasses:
- PipelineComponent
public class DirectComponent
- extends AbstractComponent
A direct component invokes the service component directly without any threading or
pooling, even when the invocation is asynchronous
- See Also:
- Serialized Form
Method Summary |
protected void |
doDispatch(UMOEvent event)
|
protected void |
doDispose()
|
protected void |
doInitialise()
|
protected void |
doPause()
Custom components can execute code necessary to put the component in a paused
state here. |
protected void |
doResume()
Custom components can execute code necessary to resume a component once it has
been paused If a developer overloads this method the doPause() method MUST
also be overloaded to avoid inconsistent state in the component |
protected UMOMessage |
doSend(UMOEvent event)
|
protected void |
doStart()
|
protected void |
doStop()
|
Methods inherited from class org.mule.impl.model.AbstractComponent |
connectListeners, createStatistics, disconnectListeners, dispatchEvent, dispose, doForceStop, fireComponentNotification, forceStop, getDescriptor, getIncomingEndpoints, getInstance, getName, getStatistics, handleException, initialise, isPaused, isStarted, isStopped, isStopping, lookupComponent, pause, registerListeners, resume, sendEvent, start, start, startListeners, stop, stopListeners, toString, unregisterListeners, waitIfPaused |
interceptorList
protected List interceptorList
proxy
protected MuleProxy proxy
DirectComponent
public DirectComponent(MuleDescriptor descriptor,
UMOModel model)
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractComponent
- Throws:
InitialisationException
doSend
protected UMOMessage doSend(UMOEvent event)
throws UMOException
- Specified by:
doSend
in class AbstractComponent
- Throws:
UMOException
doDispatch
protected void doDispatch(UMOEvent event)
throws UMOException
- Specified by:
doDispatch
in class AbstractComponent
- Throws:
UMOException
doStop
protected void doStop()
throws UMOException
- Overrides:
doStop
in class AbstractComponent
- Throws:
UMOException
doStart
protected void doStart()
throws UMOException
- Overrides:
doStart
in class AbstractComponent
- Throws:
UMOException
doPause
protected void doPause()
- Description copied from class:
AbstractComponent
- Custom components can execute code necessary to put the component in a paused
state here. If a developer overloads this method the doResume() method MUST
also be overloaded to avoid inconsistent state in the component
- Overrides:
doPause
in class AbstractComponent
doResume
protected void doResume()
- Description copied from class:
AbstractComponent
- Custom components can execute code necessary to resume a component once it has
been paused If a developer overloads this method the doPause() method MUST
also be overloaded to avoid inconsistent state in the component
- Overrides:
doResume
in class AbstractComponent
doDispose
protected void doDispose()
- Overrides:
doDispose
in class AbstractComponent
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.