org.velocityweb.controller
Class DispatcherTreeManager
java.lang.Object
org.velocityweb.controller.DispatcherTreeManager
- public class DispatcherTreeManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatcherTreeManager
public DispatcherTreeManager()
addToRoot
public static void addToRoot(java.lang.Class dispatcherClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
addParentChildrenRelationship
public static void addParentChildrenRelationship(java.lang.Class parentDispatcherClass,
java.lang.Class childrenDispatcherClass)
buildTree
public static void buildTree()
getUrl
public static java.lang.String getUrl(java.lang.Class dispatcherClass)
getDispatcherInstance
public static Dispatcher getDispatcherInstance(java.lang.Class dispatcherClass,
boolean createNewDispatchInstancePerRequest)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getDispatcherTree
public static Dispatcher[] getDispatcherTree(java.util.List urlIdsList,
boolean createNewDispatchInstancePerRequest)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getDispatcherTree
public static Dispatcher[] getDispatcherTree(java.lang.String url,
boolean createNewDispatchInstancePerRequest)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException