public class JBossRemoteDeployer extends AbstractRemoteDeployer
Modifier | Constructor and Description |
---|---|
|
JBossRemoteDeployer(RemoteContainer container)
Use the
JdkHttpURLConnection class to connect the JBoss remote URLs. |
protected |
JBossRemoteDeployer(RemoteContainer container,
HttpURLConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected String |
createJBossRemoteURL(Deployable deployable,
String urlPrefix)
Compute the JBoss deploy/undeploy URL.
|
void |
deploy(Deployable deployable) |
void |
redeploy(Deployable deployable) |
void |
setDeployURL(String deployURL) |
void |
setRedeployURL(String redeployURL) |
void |
setUndeployURL(String undeployURL) |
void |
undeploy(Deployable deployable) |
getType
deploy, deploy, start, stop, undeploy
public JBossRemoteDeployer(RemoteContainer container)
JdkHttpURLConnection
class to connect the JBoss remote URLs.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 deployerprotected JBossRemoteDeployer(RemoteContainer container, HttpURLConnection connection)
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 usepublic void setDeployURL(String deployURL)
deployURL
- the deployment URL that will override the defaultpublic void setUndeployURL(String undeployURL)
undeployURL
- the undeployment URL that will override the defaultpublic void setRedeployURL(String redeployURL)
redeployURL
- the redeployment URL that will override the defaultpublic void deploy(Deployable deployable)
deploy
in interface Deployer
deploy
in class AbstractDeployer
Deployer.deploy(Deployable)
public void undeploy(Deployable deployable)
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
Deployer.undeploy(Deployable)
public void redeploy(Deployable deployable)
redeploy
in interface Deployer
redeploy
in class AbstractDeployer
Deployer.redeploy(Deployable)
protected String createJBossRemoteURL(Deployable deployable, String urlPrefix)
deployable
- the file to deploy/undeployurlPrefix
- the JBoss static part of the deploy§undeploy URLCopyright © 2004-2013 Codehaus. All Rights Reserved.