org.mule.processor
Class AbstractInterceptingMessageProcessorBase
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
- All Implemented Interfaces:
- AnnotatedObject, MuleContextAware, MessageProcessor, MessageProcessorContainer
- Direct Known Subclasses:
- AbstractAsyncRequestReplyRequester, AbstractInterceptingMessageProcessor
public abstract class AbstractInterceptingMessageProcessorBase
- extends Object
- implements MessageProcessor, MuleContextAware, AnnotatedObject, MessageProcessorContainer
Abstract implementation that provides the infrastructure for intercepting message processors.
It doesn't implement InterceptingMessageProcessor itself, to let individual subclasses make that decision \.
This simply provides an implementation of setNext and holds the next message processor as an
attribute.
logger
protected Log logger
notificationHandler
protected ServerNotificationHandler notificationHandler
muleContext
protected MuleContext muleContext
next
protected MessageProcessor next
AbstractInterceptingMessageProcessorBase
public AbstractInterceptingMessageProcessorBase()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
getListener
public final MessageProcessor getListener()
setListener
public void setListener(MessageProcessor next)
processNext
protected MuleEvent processNext(MuleEvent event)
throws MuleException
- Throws:
MuleException
getMuleContext
public MuleContext getMuleContext()
toString
public String toString()
- Overrides:
toString
in class Object
getAnnotation
public final Object getAnnotation(QName name)
- Description copied from interface:
AnnotatedObject
- Gets the value of specified annotation.
- Specified by:
getAnnotation
in interface AnnotatedObject
- Returns:
- the value of specified annotation
getAnnotations
public final Map<QName,Object> getAnnotations()
- Description copied from interface:
AnnotatedObject
- Gets all annotations.
- Specified by:
getAnnotations
in interface AnnotatedObject
- Returns:
- all annotation
setAnnotations
public final void setAnnotations(Map<QName,Object> newAnnotations)
- Description copied from interface:
AnnotatedObject
- Sets annotations to the object.
- Specified by:
setAnnotations
in interface AnnotatedObject
isEventValid
protected boolean isEventValid(MuleEvent event)
addMessageProcessorPathElements
public void addMessageProcessorPathElements(MessageProcessorPathElement pathElement)
- Description copied from interface:
MessageProcessorContainer
- Add the child nodes to the path element tree.
- Specified by:
addMessageProcessorPathElements
in interface MessageProcessorContainer
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.