|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
public class JBossRemoteDeployer
Remote deployer that uses JMX to deploy to JBoss.
Constructor Summary | |
---|---|
|
JBossRemoteDeployer(RemoteContainer container)
Use the JdkHttpURLConnection class to connect the JBoss remote URLs. |
protected |
JBossRemoteDeployer(RemoteContainer container,
HttpURLConnection connection)
|
Method Summary | |
---|---|
protected String |
createJBossRemoteURL(Deployable deployable,
String urlPrefix)
Compute the JBoss deploy/undeploy URL. |
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 |
setDeployURL(String deployURL)
|
void |
setRedeployURL(String redeployURL)
|
void |
setUndeployURL(String undeployURL)
|
void |
undeploy(Deployable deployable)
Undeploy a Deployable from the running container. |
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, undeploy |
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 |
Constructor Detail |
---|
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 useMethod Detail |
---|
public 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 Deployer
deploy
in class AbstractDeployer
deployable
- 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 Deployer
undeploy
in class AbstractDeployer
deployable
- 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 Deployer
s based on the
AbstractCopyingInstalledLocalDeployer
.
redeploy
in interface Deployer
redeploy
in class AbstractDeployer
deployable
- the Deployable
to redeployDeployer.redeploy(Deployable)
protected String createJBossRemoteURL(Deployable deployable, String urlPrefix)
deployable
- the file to deploy/undeployurlPrefix
- the JBoss static part of the deploy��undeploy URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |