org.mule.umo.routing
Interface UMORouterCollection

All Known Subinterfaces:
UMOInboundRouterCollection, UMONestedRouterCollection, UMOOutboundRouterCollection, UMOResponseRouterCollection
All Known Implementing Classes:
AbstractRouterCollection, InboundRouterCollection, NestedRouterCollection, OutboundRouterCollection, ResponseRouterCollection

public interface UMORouterCollection

UMORouterCollection defines the interface for a MessageRouter that manages more than one router. A UMORouterCatchAllStrategy can be set on this router to route unwanted or unfiltered events. If a catch strategy is not set, the router just returns null.


Method Summary
 void addRouter(UMORouter router)
           
 UMORouterCatchAllStrategy getCatchAllStrategy()
           
 List getRouters()
           
 RouterStatistics getStatistics()
           
 boolean isMatchAll()
           
 UMORouter removeRouter(UMORouter router)
           
 void setCatchAllStrategy(UMORouterCatchAllStrategy catchAllStrategy)
           
 void setMatchAll(boolean matchAll)
           
 void setRouters(List routers)
           
 void setStatistics(RouterStatistics stat)
           
 

Method Detail

setRouters

public void setRouters(List routers)

getRouters

public List getRouters()

addRouter

public void addRouter(UMORouter router)

removeRouter

public UMORouter removeRouter(UMORouter router)

getCatchAllStrategy

public UMORouterCatchAllStrategy getCatchAllStrategy()

setCatchAllStrategy

public void setCatchAllStrategy(UMORouterCatchAllStrategy catchAllStrategy)

isMatchAll

public boolean isMatchAll()

getStatistics

public RouterStatistics getStatistics()

setStatistics

public void setStatistics(RouterStatistics stat)

setMatchAll

public void setMatchAll(boolean matchAll)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.