org.codehaus.cargo.container.jboss
Class JBossRemoteDeployer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
org.codehaus.cargo.container.jboss.JBossRemoteDeployer
- All Implemented Interfaces:
- Deployer, Loggable
public class JBossRemoteDeployer
- extends AbstractRemoteDeployer
Remote deployer that uses JMX to deploy to JBoss.
- Version:
- $Id: JBossRemoteDeployer.java 1198 2006-11-01 13:39:02Z vmassol $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossRemoteDeployer
public JBossRemoteDeployer(RemoteContainer container)
- Use the
JdkHttpURLConnection
class to connect the JBoss remote URLs.
- Parameters:
container
- the container containing the configuration to use to find the deployer
properties such as url, user name and password to use to connect to the deployer
JBossRemoteDeployer
protected JBossRemoteDeployer(RemoteContainer container,
HttpURLConnection connection)
- Parameters:
container
- the container containing the configuration to use to find the deployer
properties such as url, user name and password to use to connect to the deployerconnection
- the connection class to use
setDeployURL
public void setDeployURL(java.lang.String deployURL)
- Parameters:
deployURL
- the deployment URL that will override the default
setUndeployURL
public void setUndeployURL(java.lang.String undeployURL)
- Parameters:
undeployURL
- the undeployment URL that will override the default
setRedeployURL
public void setRedeployURL(java.lang.String redeployURL)
- Parameters:
redeployURL
- the redeployment URL that will override the default
deploy
public void deploy(Deployable deployable)
-
- Specified by:
deploy
in interface Deployer
- Overrides:
deploy
in class AbstractDeployer
- See Also:
Deployer.deploy(Deployable)
undeploy
public void undeploy(Deployable deployable)
-
- Specified by:
undeploy
in interface Deployer
- Overrides:
undeploy
in class AbstractDeployer
- See Also:
Deployer.undeploy(Deployable)
redeploy
public void redeploy(Deployable deployable)
-
- Specified by:
redeploy
in interface Deployer
- Overrides:
redeploy
in class AbstractDeployer
- See Also:
Deployer.redeploy(Deployable)
createJBossRemoteURL
protected java.lang.String createJBossRemoteURL(Deployable deployable,
java.lang.String urlPrefix)
- Compute the JBoss deploy/undeploy URL.
- Parameters:
deployable
- the file to deploy/undeployurlPrefix
- the JBoss static part of the deploy��undeploy URL
- Returns:
- the full deploy/undeploy URL
Copyright © 2004-2011 Codehaus. All Rights Reserved.