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:
- org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable
- public class JBossRemoteDeployer
- extends org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
Remote deployer that uses JMX to deploy to JBoss.
- Version:
- $Id: JBossRemoteDeployer.java 1198 2006-11-01 13:39:02Z vmassol $
|
Method Summary |
protected java.lang.String |
createJBossRemoteURL(org.codehaus.cargo.container.deployable.Deployable deployable,
java.lang.String urlPrefix)
Compute the JBoss deploy/undeploy URL. |
void |
deploy(org.codehaus.cargo.container.deployable.Deployable deployable)
|
void |
redeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
|
void |
setDeployURL(java.lang.String deployURL)
|
void |
setRedeployURL(java.lang.String redeployURL)
|
void |
setUndeployURL(java.lang.String undeployURL)
|
void |
undeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
|
| Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer |
getType |
| Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
deploy, deploy, start, stop |
| 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 |
JBossRemoteDeployer
public JBossRemoteDeployer(org.codehaus.cargo.container.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(org.codehaus.cargo.container.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(org.codehaus.cargo.container.deployable.Deployable deployable)
-
- See Also:
Deployer.deploy(Deployable)
undeploy
public void undeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
-
- See Also:
Deployer.undeploy(Deployable)
redeploy
public void redeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
-
- See Also:
Deployer.redeploy(Deployable)
createJBossRemoteURL
protected java.lang.String createJBossRemoteURL(org.codehaus.cargo.container.deployable.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-2008 Codehaus. All Rights Reserved.