org.mule.model.seda
Class SedaService

java.lang.Object
  extended by org.mule.service.AbstractService
      extended by org.mule.model.seda.SedaService
All Implemented Interfaces:
Serializable, AnnotatedObject, FlowConstruct, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, NameableObject, NamedObject, MessageProcessor, Service

Deprecated.

@Deprecated
public class SedaService
extends AbstractService

A Seda service runs inside a Seda Model and is responsible for managing a Seda Queue and thread pool for a Mule sevice service. In Seda terms this is equivilent to a stage.

See Also:
Serialized Form

Field Summary
protected  QueueProfile queueProfile
          Deprecated. The queue profile to use for this service.
protected  Integer queueTimeout
          Deprecated. The time out used for taking from the Seda Queue.
protected  SedaStageInterceptingMessageProcessor sedaStage
          Deprecated.  
protected  ThreadingProfile threadingProfile
          Deprecated. The threading profile to use for this service.
 
Fields inherited from class org.mule.service.AbstractService
asyncReplyMessageSource, component, exceptionListener, INITIAL_STATE_PAUSED, INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED, initialState, lifecycleManager, logger, messageInfoMapping, messageProcessorChain, messageSource, model, muleContext, name, outboundRouter, stats
 
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
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
SedaService(MuleContext muleContext)
          Deprecated.  
 
Method Summary
protected  void addMessageProcessors(MessageProcessorChainBuilder builder)
          Deprecated.  
protected  ServiceStatistics createStatistics()
          Deprecated.  
protected  void doInitialise()
          Deprecated. Initialise the service.
protected  void doPause()
          Deprecated. Custom components can execute code necessary to put the service in a paused state here.
protected  void doResume()
          Deprecated. Custom components can execute code necessary to resume a service once it has been paused If a developer overloads this method the doPause() method MUST also be overloaded to avoid inconsistent state in the service
 QueueProfile getQueueProfile()
          Deprecated.  
 Integer getQueueTimeout()
          Deprecated.  
protected  MessageProcessor getServiceStartedAssertingMessageProcessor()
          Deprecated.  
 ThreadingProfile getThreadingProfile()
          Deprecated.  
 void setQueueProfile(QueueProfile queueProfile)
          Deprecated.  
 void setQueueTimeout(Integer queueTimeout)
          Deprecated.  
 void setThreadingProfile(ThreadingProfile threadingProfile)
          Deprecated.  
 
Methods inherited from class org.mule.service.AbstractService
buildServiceMessageProcessorChain, createAsyncReplyProcessor, dispatchEvent, dispose, disposeIfDisposable, doDispose, doForceStop, doStart, doStop, forceStop, getAnnotation, getAnnotations, getAsyncReplyMessageSource, getAsyncReplyTimeout, getComponent, getExceptionListener, getInitialState, getLifecycleManager, getLifecycleState, getMessageInfoMapping, getMessageProcessorChain, getMessageSource, getModel, getMuleContext, getName, getOutboundMessageProcessor, getStatistics, initialise, initialiseIfInitialisable, injectFlowConstructMuleContext, isPaused, isStarted, isStopped, isStopping, pause, pauseIfPausable, process, resume, resumeIfResumable, sendEvent, setAnnotations, setAsyncReplyMessageSource, setComponent, setExceptionListener, setInitialState, setMessageInfoMapping, setMessageProcessor, setMessageSource, setModel, setName, setOutboundMessageProcessor, start, startIfStartable, stop, stopIfStoppable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

queueTimeout

protected Integer queueTimeout
Deprecated. 
The time out used for taking from the Seda Queue.


threadingProfile

protected ThreadingProfile threadingProfile
Deprecated. 
The threading profile to use for this service. If this is not set a default will be provided by the server


queueProfile

protected QueueProfile queueProfile
Deprecated. 
The queue profile to use for this service. If this is not set a default will be provided by the server


sedaStage

protected SedaStageInterceptingMessageProcessor sedaStage
Deprecated. 
Constructor Detail

SedaService

public SedaService(MuleContext muleContext)
Deprecated. 
Method Detail

getServiceStartedAssertingMessageProcessor

protected MessageProcessor getServiceStartedAssertingMessageProcessor()
Deprecated. 
Overrides:
getServiceStartedAssertingMessageProcessor in class AbstractService

addMessageProcessors

protected void addMessageProcessors(MessageProcessorChainBuilder builder)
Deprecated. 
Specified by:
addMessageProcessors in class AbstractService

doInitialise

protected void doInitialise()
                     throws InitialisationException
Deprecated. 
Initialise the service. The service will first create a Mule component from the Service and then initialise a pool based on the attributes in the Service.

Overrides:
doInitialise in class AbstractService
Throws:
InitialisationException - if the service fails to initialise

createStatistics

protected ServiceStatistics createStatistics()
Deprecated. 
Overrides:
createStatistics in class AbstractService

getQueueProfile

public QueueProfile getQueueProfile()
Deprecated. 

setQueueProfile

public void setQueueProfile(QueueProfile queueProfile)
Deprecated. 

getQueueTimeout

public Integer getQueueTimeout()
Deprecated. 

setQueueTimeout

public void setQueueTimeout(Integer queueTimeout)
Deprecated. 

getThreadingProfile

public ThreadingProfile getThreadingProfile()
Deprecated. 

setThreadingProfile

public void setThreadingProfile(ThreadingProfile threadingProfile)
Deprecated. 

doPause

protected void doPause()
                throws MuleException
Deprecated. 
Description copied from class: AbstractService
Custom components can execute code necessary to put the service in a paused state here. If a developer overloads this method the doResume() method MUST also be overloaded to avoid inconsistent state in the service

Overrides:
doPause in class AbstractService
Throws:
MuleException

doResume

protected void doResume()
                 throws MuleException
Deprecated. 
Description copied from class: AbstractService
Custom components can execute code necessary to resume a service once it has been paused If a developer overloads this method the doPause() method MUST also be overloaded to avoid inconsistent state in the service

Overrides:
doResume in class AbstractService
Throws:
MuleException


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