org.mule.processor
Class AbstractMessageProcessorOwner

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
All Implemented Interfaces:
AnnotatedObject, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable
Direct Known Subclasses:
AbstractExceptionListener, AbstractOutboundRouter, AsyncDelegateMessageProcessor, Foreach, HttpResponseBuilder, MessageEnricher, WireTap

public abstract class AbstractMessageProcessorOwner
extends AbstractMuleObjectOwner<MessageProcessor>
implements Lifecycle, MuleContextAware, FlowConstructAware, AnnotatedObject

An object that owns message processors and delegates startup/shutdown events to them.


Field Summary
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
flowConstruct, 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
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
AbstractMessageProcessorOwner()
           
 
Method Summary
 Object getAnnotation(QName name)
          Gets the value of specified annotation.
 Map<QName,Object> getAnnotations()
          Gets all annotations.
protected abstract  List<MessageProcessor> getOwnedMessageProcessors()
           
protected  List<MessageProcessor> getOwnedObjects()
           
 void setAnnotations(Map<QName,Object> newAnnotations)
          Sets annotations to the object.
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
dispose, getFlowConstruct, getMuleContext, initialise, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

AbstractMessageProcessorOwner

public AbstractMessageProcessorOwner()
Method Detail

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

getOwnedObjects

protected List<MessageProcessor> getOwnedObjects()
Specified by:
getOwnedObjects in class AbstractMuleObjectOwner<MessageProcessor>

getOwnedMessageProcessors

protected abstract List<MessageProcessor> getOwnedMessageProcessors()


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