com.admc.jamama
Interface Director
- All Superinterfaces:
- Configurable, Router, java.lang.Runnable, Server
- All Known Implementing Classes:
- JamamaDirector
- public interface Director
- extends Server, Router
Routing Director.
- Version:
- $Revision: 1.4 $
- Author:
- Blaine Simpson
| Methods inherited from interface java.lang.Runnable |
run |
setRouters
public void setRouters(StringRouterMap inRouterMap)
throws java.lang.Exception
- Throws:
java.lang.Exception
setPipeline
public void setPipeline(java.util.List inList)
throws UndefinedNameException
- Sets the router Pipeline to those pipes named in the input list.
Pipeline always starts with Router.pipehead and ends with the
Routing Director itself (which implements Router).
(That fact is actually an implementation detail which doesn't belong
in the API, but I'm putting that info here for now).
- Parameters:
inList - A list of String pipe names.
- Throws:
UndefinedNameException
setRepositories
public void setRepositories(ClassReposMapMap classRepositories,
ClassRepositoryMap defaultRepositories)
- Set repositories to use and to make available to Routers.
createMit
public Mit createMit()
- Jamama objects depend on their RoutingDirector to create Mits
(Because it associates the correct repository with the new Mit).