KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > routing > UMORouterCollection


1 /*
2  * $Id: UMORouterCollection.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.routing;
12
13 import org.mule.management.stats.RouterStatistics;
14
15 import java.util.List JavaDoc;
16
17 /**
18  * <code>UMORouterCollection</code> defines the interface for a MessageRouter that
19  * manages more than one router.
20  *
21  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

24
25 public interface UMORouterCollection
26 {
27     void setRouters(List JavaDoc routers);
28
29     List JavaDoc getRouters();
30
31     void addRouter(UMORouter router);
32
33     UMORouter removeRouter(UMORouter router);
34
35     UMORouterCatchAllStrategy getCatchAllStrategy();
36
37     void setCatchAllStrategy(UMORouterCatchAllStrategy catchAllStrategy);
38
39     boolean isMatchAll();
40
41     RouterStatistics getStatistics();
42
43     void setStatistics(RouterStatistics stat);
44
45     void setMatchAll(boolean matchAll);
46 }
47
Popular Tags