Class AbstractTomeeRemoteDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
-
- org.codehaus.cargo.container.tomcat.Tomcat5xRemoteDeployer
-
- org.codehaus.cargo.container.tomcat.Tomcat6xRemoteDeployer
-
- org.codehaus.cargo.container.tomcat.Tomcat7xRemoteDeployer
-
- org.codehaus.cargo.container.tomee.internal.AbstractTomeeRemoteDeployer
-
- Direct Known Subclasses:
Tomee10xRemoteDeployer
,Tomee1xRemoteDeployer
,Tomee7xRemoteDeployer
,Tomee8xRemoteDeployer
,Tomee9xRemoteDeployer
public class AbstractTomeeRemoteDeployer extends Tomcat7xRemoteDeployer
A special TomEE manager-based deployer to perform deployment to a remote container.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
container
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
managerContext
-
-
Constructor Summary
Constructors Constructor Description AbstractTomeeRemoteDeployer(RemoteContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getPath(Deployable deployable)
Gets the webapp path for the specified deployable.protected String
getVersion(Deployable deployable)
Gets the webapp version for the specified deployable.-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat7xRemoteDeployer
performUndeploy
-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
getConfiguration, getType
-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
createManager, deploy, getTomcatManager, list, redeploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
AbstractTomeeRemoteDeployer
public AbstractTomeeRemoteDeployer(RemoteContainer container)
-
-
Method Detail
-
getPath
protected String getPath(Deployable deployable)
Gets the webapp path for the specified deployable.This is a special implementation of getPath command for Tomcat 7.x with version support.
This is a special implementation of undeploy command for TomEE with version support.
- Overrides:
getPath
in classTomcat7xRemoteDeployer
- Parameters:
deployable
- the deployable- Returns:
- the webapp path for the specified deployable
-
getVersion
protected String getVersion(Deployable deployable)
Gets the webapp version for the specified deployable.This is a special implementation of getVersion command for Tomcat 7.x with version support.
This is a special implementation of undeploy command for TomEE with version support.
- Overrides:
getVersion
in classTomcat7xRemoteDeployer
- Parameters:
deployable
- the deployable- Returns:
- the webapp version for the specified deployable
-
-