|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
org.codehaus.cargo.container.tomcat.Tomcat5xEmbeddedLocalDeployer
public class Tomcat5xEmbeddedLocalDeployer
Deployer
for deploying to
embedded Tomcat container
.
Constructor Summary | |
---|---|
Tomcat5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
Creates a new deployer for Tomcat5xEmbeddedLocalContainer . |
Method Summary | |
---|---|
void |
deploy(Deployable deployable)
Deploy a Deployable to the running container and make it available for requests. |
DeployerType |
getType()
|
void |
redeploy(Deployable deployable)
Redeploy a Deployable already deployed to the running container. |
void |
start(Deployable deployable)
Starts a Deployable that is already deployed in the running container but that is
not servicing requests. |
void |
stop(Deployable deployable)
Stop a Deployable that is already deployed in the running container in order to
prevent it from servicing requests. |
void |
undeploy(Deployable deployable)
Undeploy a Deployable from the running container. |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer |
---|
getContainer, getFileHandler, setFileHandler |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
---|
deploy, deploy, undeploy |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
---|
getLogger, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
---|
getLogger, setLogger |
Constructor Detail |
---|
public Tomcat5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
Tomcat5xEmbeddedLocalContainer
.
container
- The container to which this deployer will work. This parameter is typed
as EmbeddedLocalContainer
due to the Cargo generic API requirement, but it
has to be a Tomcat5xEmbeddedLocalContainer
.Method Detail |
---|
public void deploy(Deployable deployable)
Deployable
to the running container and make it available for requests.
deploy
in interface Deployer
deploy
in class AbstractDeployer
deployable
- the Deployable
to deployAbstractDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)
public void undeploy(Deployable deployable)
Deployable
from the running container. The service becomes unavailable
for requests.
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
deployable
- the Deployable
to undeployAbstractDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)
public void redeploy(Deployable deployable)
Redeploy a Deployable
already deployed to the running container. The service
becomes available for requests.
Note that this method will be unsupported by the Deployer
s based on the
AbstractCopyingInstalledLocalDeployer
.
redeploy
in interface Deployer
redeploy
in class AbstractDeployer
deployable
- the Deployable
to redeployAbstractDeployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)
public void start(Deployable deployable)
Deployable
that is already deployed in the running container but that is
not servicing requests.
start
in interface Deployer
start
in class AbstractDeployer
deployable
- the Deployable
to startAbstractDeployer.start(org.codehaus.cargo.container.deployable.Deployable)
public void stop(Deployable deployable)
Deployable
that is already deployed in the running container in order to
prevent it from servicing requests.
stop
in interface Deployer
stop
in class AbstractDeployer
deployable
- the Deployable
to stopAbstractDeployer.stop(org.codehaus.cargo.container.deployable.Deployable)
public DeployerType getType()
Deployer.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |