org.mule.impl.model.seda.optimised
Class OptimisedSedaComponent

java.lang.Object
  extended by org.mule.impl.model.AbstractComponent
      extended by org.mule.impl.model.seda.SedaComponent
          extended by org.mule.impl.model.seda.optimised.OptimisedSedaComponent
All Implemented Interfaces:
Serializable, Runnable, EventListener, javax.resource.spi.work.Work, javax.resource.spi.work.WorkListener, Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOComponent

public class OptimisedSedaComponent
extends SedaComponent

Same as SedaComponent except that it assumes that components implement the Callable interface and therefore does away with the reflection and introspection on objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mule.impl.model.seda.SedaComponent
componentPerRequest, componentProxy, descriptorQueueName, enablePooling, POOLING_PROFILE_PROPERTY, poolingProfile, proxyPool, QUEUE_PROFILE_PROPERTY, queueProfile, queueTimeout, workManager
 
Fields inherited from class org.mule.impl.model.AbstractComponent
descriptor, exceptionListener, initialised, logger, model, paused, poolInitialised, stats, stopped, stopping
 
Constructor Summary
OptimisedSedaComponent(MuleDescriptor descriptor, OptimisedSedaModel model)
          Default constructor
 
Method Summary
protected  ObjectPool createPool()
           
 
Methods inherited from class org.mule.impl.model.seda.SedaComponent
createComponentProxy, createStatistics, dequeue, doDispatch, doDispose, doForceStop, doInitialise, doReleaseProxy, doSend, doStart, doStop, enqueue, getPoolingProfile, getProxy, getQueueProfile, getQueueSize, handleWorkException, initialisePool, release, run, setPoolingProfile, setQueueProfile, workAccepted, workCompleted, workRejected, workStarted
 
Methods inherited from class org.mule.impl.model.AbstractComponent
connectListeners, disconnectListeners, dispatchEvent, dispose, doPause, doResume, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisedSedaComponent

public OptimisedSedaComponent(MuleDescriptor descriptor,
                              OptimisedSedaModel model)
Default constructor

Method Detail

createPool

protected ObjectPool createPool()
                         throws InitialisationException
Overrides:
createPool in class SedaComponent
Throws:
InitialisationException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.