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

void setRouters(List routers)

getRouters

List getRouters()

addRouter

void addRouter(UMORouter router)

removeRouter

UMORouter removeRouter(UMORouter router)

getCatchAllStrategy

UMORouterCatchAllStrategy getCatchAllStrategy()

setCatchAllStrategy

void setCatchAllStrategy(UMORouterCatchAllStrategy catchAllStrategy)

isMatchAll

boolean isMatchAll()

getStatistics

RouterStatistics getStatistics()

setStatistics

void setStatistics(RouterStatistics stat)

setMatchAll

void setMatchAll(boolean matchAll)


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