|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 IContextManager
context
- 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 IContextManager
context
- 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 IContextManager
context
- 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 IContextManager
WebContext
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 |