org.mule.lifecycle.processor
Class ProcessIfStartedMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessorBase
      extended by org.mule.processor.AbstractInterceptingMessageProcessor
          extended by org.mule.processor.AbstractFilteringMessageProcessor
              extended by org.mule.lifecycle.processor.ProcessIfStartedMessageProcessor
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource
Direct Known Subclasses:
ProcessIfStartedWaitIfPausedMessageProcessor

public class ProcessIfStartedMessageProcessor
extends AbstractFilteringMessageProcessor


Field Summary
protected  LifecycleState lifecycleState
           
protected  Startable startable
           
 
Fields inherited from class org.mule.processor.AbstractFilteringMessageProcessor
onUnacceptedFlowConstruct, throwOnUnaccepted, unacceptedMessageProcessor
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
logger, muleContext, next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
ProcessIfStartedMessageProcessor(Startable startable, LifecycleState lifecycleState)
           
 
Method Summary
protected  boolean accept(MuleEvent event)
           
protected  String getStartableName(Startable startableObject)
           
protected  MuleEvent handleUnaccepted(MuleEvent event)
           
 
Methods inherited from class org.mule.processor.AbstractFilteringMessageProcessor
filterUnacceptedException, getUnacceptedMessageProcessor, isThrowOnUnaccepted, process, setThrowOnUnaccepted, setUnacceptedMessageProcessor
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.source.MessageSource
setListener
 

Field Detail

startable

protected Startable startable

lifecycleState

protected LifecycleState lifecycleState
Constructor Detail

ProcessIfStartedMessageProcessor

public ProcessIfStartedMessageProcessor(Startable startable,
                                        LifecycleState lifecycleState)
Method Detail

accept

protected boolean accept(MuleEvent event)
Specified by:
accept in class AbstractFilteringMessageProcessor

handleUnaccepted

protected MuleEvent handleUnaccepted(MuleEvent event)
                              throws LifecycleException
Overrides:
handleUnaccepted in class AbstractFilteringMessageProcessor
Throws:
LifecycleException

getStartableName

protected String getStartableName(Startable startableObject)


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