Package org.codehaus.cargo.tools.jboss
Class JBossDeployer
- java.lang.Object
-
- org.codehaus.cargo.tools.jboss.JBossDeployer
-
- All Implemented Interfaces:
IJBossProfileManagerDeployer
public class JBossDeployer extends Object implements IJBossProfileManagerDeployer
JBoss deployer implementation.
-
-
Constructor Summary
Constructors Constructor Description JBossDeployer(Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(File deploymentFile, String deploymentName)
Deploys an application.void
undeploy(String deploymentName)
Undeploys an application.
-
-
-
Constructor Detail
-
JBossDeployer
public JBossDeployer(Configuration configuration)
- Parameters:
configuration
- Configuration of the container.
-
-
Method Detail
-
deploy
public void deploy(File deploymentFile, String deploymentName) throws Exception
Deploys an application.- Specified by:
deploy
in interfaceIJBossProfileManagerDeployer
- Parameters:
deploymentFile
- File to deploy from local.deploymentName
- Name of the deployment on the remote server.- Throws:
Exception
- If anything bad occurs.
-
undeploy
public void undeploy(String deploymentName) throws Exception
Undeploys an application.- Specified by:
undeploy
in interfaceIJBossProfileManagerDeployer
- Parameters:
deploymentName
- Name of the deployment on the remote server.- Throws:
Exception
- If anything bad occurs.
-
-