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

java.lang.Object
  extended byorg.mule.impl.model.AbstractModel
      extended byorg.mule.impl.model.seda.SedaModel
          extended byorg.mule.impl.model.seda.optimised.OptimisedSedaModel
All Implemented Interfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOModel

public class OptimisedSedaModel
extends SedaModel

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


Field Summary
 
Fields inherited from class org.mule.impl.model.seda.SedaModel
componentPerRequest, poolingProfile, queueProfile
 
Fields inherited from class org.mule.impl.model.AbstractModel
descriptors, logger
 
Constructor Summary
OptimisedSedaModel()
           
 
Method Summary
protected  UMOComponent createComponent(UMODescriptor descriptor)
           
 String getType()
          Returns the model type name.
 
Methods inherited from class org.mule.impl.model.seda.SedaModel
getPoolingProfile, getQueueProfile, getQueueTimeout, isComponentPerRequest, isEnablePooling, setComponentPerRequest, setEnablePooling, setPoolingProfile, setQueueProfile, setQueueTimeout
 
Methods inherited from class org.mule.impl.model.AbstractModel
dispose, getComponent, getComponentNames, getComponentSession, getDescriptor, getEntryPointResolver, getExceptionListener, getLifecycleAdapterFactory, getName, initialise, isComponentRegistered, pauseComponent, registerComponent, resumeComponent, setComponents, setEntryPointResolver, setExceptionListener, setLifecycleAdapterFactory, setName, start, startComponent, stop, stopComponent, unregisterComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimisedSedaModel

public OptimisedSedaModel()
Method Detail

getType

public String getType()
Returns the model type name. This is a friendly identifier that is used to look up the SPI class for the model

Specified by:
getType in interface UMOModel
Overrides:
getType in class SedaModel
Returns:
the model type

createComponent

protected UMOComponent createComponent(UMODescriptor descriptor)
Overrides:
createComponent in class SedaModel


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