org.mule.model.seda
Class SedaModel

java.lang.Object
  extended by org.mule.model.AbstractModel
      extended by org.mule.model.seda.SedaModel
All Implemented Interfaces:
MuleContextAware, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, Model, NameableObject, NamedObject

Deprecated.

@Deprecated
public class SedaModel
extends AbstractModel

A mule service service model that uses SEDA principals to achieve high throughput by Queuing events for components and processing them concurrently.


Field Summary
protected  PoolingProfile poolingProfile
          Deprecated. the pooling configuration used when initialising the service described by this descriptor.
protected  QueueProfile queueProfile
          Deprecated. The queuing profile for events received for this service
 
Fields inherited from class org.mule.model.AbstractModel
DEFAULT_MODEL_NAME, lifecycleManager, logger, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
SedaModel()
          Deprecated.  
 
Method Summary
 PoolingProfile getPoolingProfile()
          Deprecated.  
 QueueProfile getQueueProfile()
          Deprecated.  
 int getQueueTimeout()
          Deprecated.  
 String getType()
          Deprecated. Returns the model type name.
 void initialise()
          Deprecated. Method used to perform any initialisation work.
 void setPoolingProfile(PoolingProfile poolingProfile)
          Deprecated.  
 void setQueueProfile(QueueProfile queueProfile)
          Deprecated.  
 void setQueueTimeout(int queueTimeout)
          Deprecated.  
 
Methods inherited from class org.mule.model.AbstractModel
dispose, getEntryPointResolverSet, getExceptionListener, getLifecycleAdapterFactory, getLifecycleState, getMuleContext, getName, setEntryPointResolvers, setEntryPointResolverSet, setExceptionListener, setLifecycleAdapterFactory, setMuleContext, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

poolingProfile

protected PoolingProfile poolingProfile
Deprecated. 
the pooling configuration used when initialising the service described by this descriptor.


queueProfile

protected QueueProfile queueProfile
Deprecated. 
The queuing profile for events received for this service

Constructor Detail

SedaModel

public SedaModel()
Deprecated. 
Method Detail

getType

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

Returns:
the model type

initialise

public void initialise()
                throws InitialisationException
Deprecated. 
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a RecoverableException should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

Specified by:
initialise in interface Initialisable
Overrides:
initialise in class AbstractModel
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from

getQueueTimeout

public int getQueueTimeout()
Deprecated. 

setQueueTimeout

public void setQueueTimeout(int queueTimeout)
Deprecated. 

getPoolingProfile

public PoolingProfile getPoolingProfile()
Deprecated. 

setPoolingProfile

public void setPoolingProfile(PoolingProfile poolingProfile)
Deprecated. 

getQueueProfile

public QueueProfile getQueueProfile()
Deprecated. 

setQueueProfile

public void setQueueProfile(QueueProfile queueProfile)
Deprecated. 


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.