org.mule.config.spring.factories
Class AbstractSelectiveRouterFactoryBean

java.lang.Object
  extended by org.mule.config.spring.factories.AbstractSelectiveRouterFactoryBean
All Implemented Interfaces:
AnnotatedObject, org.springframework.beans.factory.FactoryBean
Direct Known Subclasses:
ChoiceRouterFactoryBean

public abstract class AbstractSelectiveRouterFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, AnnotatedObject


Field Summary
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
AbstractSelectiveRouterFactoryBean()
           
 
Method Summary
 Object getAnnotation(QName name)
          Gets the value of specified annotation.
 Map<QName,Object> getAnnotations()
          Gets all annotations.
 Object getObject()
           
 boolean isSingleton()
           
protected abstract  AbstractSelectiveRouter newAbstractSelectiveRouter()
           
 void setAnnotations(Map<QName,Object> newAnnotations)
          Sets annotations to the object.
 void setDefaultRoute(MessageProcessorFilterPair conditionalProcessor)
           
 void setRoutes(Collection<MessageProcessorFilterPair> conditionalMessageProcessors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.FactoryBean
getObjectType
 

Constructor Detail

AbstractSelectiveRouterFactoryBean

public AbstractSelectiveRouterFactoryBean()
Method Detail

setDefaultRoute

public void setDefaultRoute(MessageProcessorFilterPair conditionalProcessor)

setRoutes

public void setRoutes(Collection<MessageProcessorFilterPair> conditionalMessageProcessors)

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

newAbstractSelectiveRouter

protected abstract AbstractSelectiveRouter newAbstractSelectiveRouter()

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

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


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