|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.tm.tomcat.TomcatContextManager
Implementation of a IContextManager using the Tomcat server manager
application.
| Constructor Summary | |
TomcatContextManager(TomcatServer server)
Default constructor |
|
| Method Summary | |
List |
getAll()
Returns a list of all available context's. |
void |
reload(String context)
Reloads a context by it's name. |
void |
start(String context)
Starts a context by it's name. |
void |
stop(String context)
Stops a context by it's name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TomcatContextManager(TomcatServer server)
| Method Detail |
public void start(String context)
throws ContextManagerException
IContextManager
start in interface IContextManagercontext - Name of the context which should be started
ContextManagerException - The context couldn't be started.
Check Stacktrace for reason.IContextManager.start(java.lang.String)
public void stop(String context)
throws ContextManagerException
IContextManager
stop in interface IContextManagercontext - The name of the context to be stopped.
ContextManagerException - The context couldn't be stoped.
Check Stacktrace for reason.IContextManager.stop(java.lang.String)
public void reload(String context)
throws ContextManagerException
IContextManager
reload in interface IContextManagercontext - The name of the context to be reloaded.
ContextManagerException - The context couldn't be reloaded.
Check Stacktrace for reason.IContextManager.reload(String)
public List getAll()
throws ContextManagerException
IContextManager
getAll in interface IContextManagerWebContext objects
ContextManagerException - The context list couldn't be retrived.
Check Stacktrace for reason.IContextManager.getAll()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||