|
||||||||||
| 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(java.io.File catalinaHome,
int port)
|
|
| Method Summary | |
|---|---|
void |
deploy(java.lang.String context,
java.io.InputStream war)
This method deploys the arg war into the appserver under the arg context. |
java.io.File |
getCatalinaHome()
|
int |
getPort()
|
void |
start()
This method starts the tomcat instance. |
void |
start(java.util.Map<java.lang.String,java.lang.String> env)
|
void |
stop()
This method shutsdown the tomcat instance. |
void |
unDeploy(java.lang.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(java.io.File catalinaHome,
int port)
| Method Detail |
|---|
public void start()
public void start(java.util.Map<java.lang.String,java.lang.String> env)
public void stop()
public void deploy(java.lang.String context,
java.io.InputStream war)
context - of deployed webappwar - to be deployedpublic void unDeploy(java.lang.String context)
context - to be undeployedpublic java.io.File getCatalinaHome()
public int getPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||