public class JBoss4xRemoteDeployer extends AbstractRemoteDeployer
| Modifier | Constructor and Description |
|---|---|
|
JBoss4xRemoteDeployer(RemoteContainer container)
Use the
JdkHttpURLConnection class to connect the JBoss remote URLs. |
protected |
JBoss4xRemoteDeployer(RemoteContainer container,
HttpURLConnection connection,
ISimpleHttpFileServer fileServer) |
| Modifier and Type | Method and Description |
|---|---|
protected InetSocketAddress |
buildSocketAddressForDeployableServer()
return the socket address used for serving deployables to remote JBoss servers
|
void |
deploy(Deployable deployable)
Deploy a
Deployable to the running container and make it available for requests. |
void |
redeploy(Deployable deployable)
Redeploy a
Deployable already deployed to the running container. |
void |
redeploy(Deployable deployable,
DeployableMonitor monitor)
Redeploy a
Deployable already deployed to the running container. |
void |
setDeployURL(String deployURL) |
void |
setRedeployURL(String redeployURL) |
void |
setUndeployURL(String undeployURL) |
void |
undeploy(Deployable deployable)
Undeploy a
Deployable from the running container. |
getTypedeploy, deploy, start, start, stop, stop, undeploygetLogger, setLoggerpublic JBoss4xRemoteDeployer(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 JBoss4xRemoteDeployer(RemoteContainer container, HttpURLConnection connection, ISimpleHttpFileServer fileServer)
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 usefileServer - http file server 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)
Deployable to the running container and make it available for requests.deploy in interface Deployerdeploy in class AbstractDeployerdeployable - the Deployable to deployDeployer.deploy(Deployable)public void undeploy(Deployable deployable)
Deployable from the running container. The service becomes unavailable for
requests.undeploy in interface Deployerundeploy in class AbstractDeployerdeployable - the Deployable to undeployDeployer.undeploy(Deployable)public void redeploy(Deployable deployable)
Redeploy a Deployable already deployed to the running container. The service becomes
available for requests.
Note that this method will be unsupported by the Deployers based on the
AbstractCopyingInstalledLocalDeployer.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeployDeployer.redeploy(Deployable)public void redeploy(Deployable deployable, DeployableMonitor monitor)
Redeploy a Deployable already deployed to the running container. The service becomes
available for requests.
Note that this method will be unsupported by the Deployers based on the
AbstractCopyingInstalledLocalDeployer.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeploymonitor - the monitor that checks for deployment statusDeployer.redeploy(Deployable, DeployableMonitor)protected InetSocketAddress buildSocketAddressForDeployableServer()
Copyright © 2004-2013 Codehaus. All Rights Reserved.