|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
public class AntContainerProvider
Implementation of IContainerProvider that uses ant scripts to set up and launch containers.
| Constructor Summary | |
|---|---|
AntContainerProvider(AntContainerManager theManager,
java.lang.String theTargetMask,
java.lang.String theHome)
|
|
| Method Summary | |
|---|---|
void |
deploy(java.lang.String theContextPath,
java.net.URL theDeployableObject,
Credential theCredentials,
org.eclipse.core.runtime.IProgressMonitor thePM)
Deploy a webapp to the container. |
void |
setEclipseRunner(EclipseRunTests theEclipseRunner)
|
void |
start(ContainerInfo theContainerInfo,
org.eclipse.core.runtime.IProgressMonitor thePM)
Starts the container. |
void |
stop(ContainerInfo theContainerInfo,
org.eclipse.core.runtime.IProgressMonitor thePM)
Stops the container. |
void |
undeploy(java.lang.String theContextPath,
Credential theCredentials,
org.eclipse.core.runtime.IProgressMonitor thePM)
UnDeploy a webapp to the container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntContainerProvider(AntContainerManager theManager,
java.lang.String theTargetMask,
java.lang.String theHome)
theManager - the manager of this providertheTargetMask - target mask for this providertheHome - home directory for this provider's container| Method Detail |
|---|
public void deploy(java.lang.String theContextPath,
java.net.URL theDeployableObject,
Credential theCredentials,
org.eclipse.core.runtime.IProgressMonitor thePM)
throws org.eclipse.core.runtime.CoreException
IContainerProvider
deploy in interface IContainerProvidertheContextPath - path to the webapp (for example "test")theDeployableObject - war file to be deployedtheCredentials - credentials for deployment (user:pwd)thePM - the monitor that reflects progress made while deploying
org.eclipse.core.runtime.CoreException - when deployment failsIContainerProvider#deploy(String, URL, Credential)
public void start(ContainerInfo theContainerInfo,
org.eclipse.core.runtime.IProgressMonitor thePM)
throws org.eclipse.core.runtime.CoreException
IContainerProvider
start in interface IContainerProvidertheContainerInfo - detail of the container configurationthePM - the monitor that reflects progress made while starting
org.eclipse.core.runtime.CoreException - when starting failsIContainerProvider#start(ContainerInfo)
public void stop(ContainerInfo theContainerInfo,
org.eclipse.core.runtime.IProgressMonitor thePM)
throws org.eclipse.core.runtime.CoreException
IContainerProvider
stop in interface IContainerProvidertheContainerInfo - detail of the container configurationthePM - the monitor that reflects progress made while stopping
org.eclipse.core.runtime.CoreException - when stopping failsIContainerProvider#stop(ContainerInfo)
public void undeploy(java.lang.String theContextPath,
Credential theCredentials,
org.eclipse.core.runtime.IProgressMonitor thePM)
throws org.eclipse.core.runtime.CoreException
IContainerProvider
undeploy in interface IContainerProvidertheContextPath - path to the webapptheCredentials - credentials for undeployment (user:pwd)thePM - the monitor that reflects progress made while undeploying
org.eclipse.core.runtime.CoreException - when undeployment fails(String, Credential)public void setEclipseRunner(EclipseRunTests theEclipseRunner)
theEclipseRunner - The EclipseRunTests instance to associate with
this container provider, which will be notified of test run end
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||