org.mule.api.routing
Interface RouterCollection

All Superinterfaces:
Disposable, Initialisable
All Known Subinterfaces:
BindingCollection, InboundRouterCollection, OutboundRouterCollection, ResponseRouterCollection
All Known Implementing Classes:
AbstractRouterCollection, DefaultBindingCollection, DefaultInboundRouterCollection, DefaultOutboundRouterCollection, DefaultResponseRouterCollection

public interface RouterCollection
extends Initialisable, Disposable

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


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Method Summary
 void addRouter(Router router)
           
 RouterCatchAllStrategy getCatchAllStrategy()
           
 List<? extends Router> getRouters()
           
 RouterStatistics getStatistics()
           
 boolean isMatchAll()
           
 Router removeRouter(Router router)
           
 void setCatchAllStrategy(RouterCatchAllStrategy catchAllStrategy)
           
 void setMatchAll(boolean matchAll)
           
 void setRouters(List<? extends Router> routers)
           
 void setStatistics(RouterStatistics stat)
           
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 

Method Detail

setRouters

void setRouters(List<? extends Router> routers)

getRouters

List<? extends Router> getRouters()

addRouter

void addRouter(Router router)

removeRouter

Router removeRouter(Router router)

getCatchAllStrategy

RouterCatchAllStrategy getCatchAllStrategy()

setCatchAllStrategy

void setCatchAllStrategy(RouterCatchAllStrategy catchAllStrategy)

isMatchAll

boolean isMatchAll()

getStatistics

RouterStatistics getStatistics()

setStatistics

void setStatistics(RouterStatistics stat)

setMatchAll

void setMatchAll(boolean matchAll)


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