|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.duracloud.services.webapputil.tomcat.TomcatInstance
public class TomcatInstance
This class is a stateful representation of a tomcat instance. It may be started or stopped, and webapps may be deployed to it or undeployed from it.
Constructor Summary | |
---|---|
TomcatInstance(File catalinaHome,
int port)
|
Method Summary | |
---|---|
void |
deploy(String context,
InputStream war)
This method deploys the arg war into the appserver under the arg context. |
File |
getCatalinaHome()
|
int |
getPort()
|
void |
start()
This method starts the tomcat instance. |
void |
start(Map<String,String> env)
|
void |
stop()
This method shutsdown the tomcat instance. |
void |
unDeploy(String context)
This method undeploys the webapp found under the arg context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TomcatInstance(File catalinaHome, int port)
Method Detail |
---|
public void start()
public void start(Map<String,String> env)
public void stop()
public void deploy(String context, InputStream war)
context
- of deployed webappwar
- to be deployedpublic void unDeploy(String context)
context
- to be undeployedpublic File getCatalinaHome()
public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |