org.mule.routing
Class AbstractRouterCollection
java.lang.Object
org.mule.routing.AbstractRouterCollection
- All Implemented Interfaces:
- UMORouterCollection
- Direct Known Subclasses:
- InboundRouterCollection, NestedRouterCollection, OutboundRouterCollection, ResponseRouterCollection
public abstract class AbstractRouterCollection
- extends Object
- implements UMORouterCollection
AbstractRouterCollection
provides common method implementations of
router collections for in and outbound routers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient Log logger
- logger used by this class
matchAll
protected boolean matchAll
routers
protected List routers
AbstractRouterCollection
public AbstractRouterCollection(int type)
setRouters
public void setRouters(List routers)
- Specified by:
setRouters
in interface UMORouterCollection
addRouter
public void addRouter(UMORouter router)
- Specified by:
addRouter
in interface UMORouterCollection
removeRouter
public UMORouter removeRouter(UMORouter router)
- Specified by:
removeRouter
in interface UMORouterCollection
getRouters
public List getRouters()
- Specified by:
getRouters
in interface UMORouterCollection
getCatchAllStrategy
public UMORouterCatchAllStrategy getCatchAllStrategy()
- Specified by:
getCatchAllStrategy
in interface UMORouterCollection
setCatchAllStrategy
public void setCatchAllStrategy(UMORouterCatchAllStrategy catchAllStrategy)
- Specified by:
setCatchAllStrategy
in interface UMORouterCollection
isMatchAll
public boolean isMatchAll()
- Specified by:
isMatchAll
in interface UMORouterCollection
setMatchAll
public void setMatchAll(boolean matchAll)
- Specified by:
setMatchAll
in interface UMORouterCollection
getStatistics
public RouterStatistics getStatistics()
- Specified by:
getStatistics
in interface UMORouterCollection
setStatistics
public void setStatistics(RouterStatistics stat)
- Specified by:
setStatistics
in interface UMORouterCollection
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.