Class JBoss5xRemoteDeployer
- 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.JBoss5xRemoteDeployer
-
- Direct Known Subclasses:
JBoss51x6xRemoteDeployer
,JBoss7xRemoteDeployer
public class JBoss5xRemoteDeployer extends AbstractRemoteDeployer
Remote deployer that uses the Profile Service to deploy to JBoss.
-
-
Constructor Summary
Constructors Constructor Description JBoss5xRemoteDeployer(RemoteContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(Deployable deployable)
Deploy aDeployable
to the running container and make it available for requests.protected String
getJBossConnectorClassName()
protected String
getJBossRemoteDeployerJarName()
void
undeploy(Deployable deployable)
Undeploy aDeployable
from the running container.-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
getContainer, getType
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, redeploy, redeploy, start, start, stop, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
JBoss5xRemoteDeployer
public JBoss5xRemoteDeployer(RemoteContainer container)
- 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
-
-
Method Detail
-
getJBossRemoteDeployerJarName
protected String getJBossRemoteDeployerJarName()
- Returns:
- The JAR name to load for the JBoss remote deployer.
-
getJBossConnectorClassName
protected String getJBossConnectorClassName()
- Returns:
- The class name to load for the JBoss JNDI context.
-
deploy
public void deploy(Deployable deployable)
Deploy aDeployable
to the running container and make it available for requests.- Specified by:
deploy
in interfaceDeployer
- Overrides:
deploy
in classAbstractDeployer
- Parameters:
deployable
- theDeployable
to deploy
-
undeploy
public void undeploy(Deployable deployable)
Undeploy aDeployable
from the running container. The service becomes unavailable for requests.- Specified by:
undeploy
in interfaceDeployer
- Overrides:
undeploy
in classAbstractDeployer
- Parameters:
deployable
- theDeployable
to undeploy
-
-