org.mule.processor
Class AbstractInterceptingMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
All Implemented Interfaces:
MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource
Direct Known Subclasses:
AbstractAggregator, AbstractAsyncRequestReplyRequester, AbstractEnvelopeInterceptor, AbstractFilteringMessageProcessor, AbstractMessageProcessorChain, AbstractResponseMessageProcessor, AbstractSplitter, AsyncInterceptingMessageProcessor, CxfInboundMessageProcessor, CxfOutboundMessageProcessor, ExceptionHandlingMessageProcessor, InterceptorStack, OutboundResponsePropertiesMessageProcessor, OutboundTxRollbackMessageProcessor, ReplyToMessageProcessor, SecurityFilterMessageProcessor, ServiceInternalMessageProcessor, ServiceOutboundMessageProcessor, StopFurtherMessageProcessingMessageProcessor, TimerInterceptor, TransactionalInterceptingMessageProcessor

public abstract class AbstractInterceptingMessageProcessor
extends Object
implements InterceptingMessageProcessor, MuleContextAware

Abstract implementation of InterceptingMessageProcessor that simply provides an implementation of setNext and holds the next message processor as an attribute.


Field Summary
protected  Log logger
           
protected  MuleContext muleContext
           
protected  MessageProcessor next
           
protected  ServerNotificationHandler notificationHandler
           
 
Constructor Summary
AbstractInterceptingMessageProcessor()
           
 
Method Summary
protected  void fireNotification(FlowConstruct flowConstruct, MuleEvent event, MessageProcessor processor, int action)
           
 MuleContext getMuleContext()
           
protected  MuleEvent processNext(MuleEvent event)
           
 void setListener(MessageProcessor next)
          Set the MessageProcessor listener on a message source which will be invoked when a message is received or generated.
 void setMuleContext(MuleContext context)
           
 String 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.processor.MessageProcessor
process
 

Field Detail

logger

protected Log logger

notificationHandler

protected ServerNotificationHandler notificationHandler

muleContext

protected MuleContext muleContext

next

protected MessageProcessor next
Constructor Detail

AbstractInterceptingMessageProcessor

public AbstractInterceptingMessageProcessor()
Method Detail

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware

setListener

public void setListener(MessageProcessor next)
Description copied from interface: MessageSource
Set the MessageProcessor listener on a message source which will be invoked when a message is received or generated.

Specified by:
setListener in interface MessageSource

processNext

protected MuleEvent processNext(MuleEvent event)
                         throws MuleException
Throws:
MuleException

getMuleContext

public MuleContext getMuleContext()

toString

public String toString()
Overrides:
toString in class Object

fireNotification

protected void fireNotification(FlowConstruct flowConstruct,
                                MuleEvent event,
                                MessageProcessor processor,
                                int action)


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