org.ow2.jonas.services.bootstrap
Class JOnASDeploymentPlanDeployer

java.lang.Object
  extended by org.ow2.jonas.services.bootstrap.JOnASDeploymentPlanDeployer
All Implemented Interfaces:
DeploymentPlanDeployer

public class JOnASDeploymentPlanDeployer
extends Object
implements DeploymentPlanDeployer

Allows to deploy or undeploy all bundles for a particular deployment plan. At the server initialization, deploy all JOnAS services defined in the configuration.

Author:
Francois Fornaciari

Constructor Summary
JOnASDeploymentPlanDeployer()
           
 
Method Summary
 void deploy(String name)
          Try to deploy all bundles for a given deployment plan.
 void setConfigurationManager(ConfigurationManager configurationManager)
          Set the ConfigurationManager service.
 void setDeploymentPlanDeployer(org.ow2.util.plan.deployer.api.IDeploymentPlanDeployer deploymentPlanDeployer)
           
 void undeploy(String name)
          Try to undeploy all bundles for a given deployment plan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASDeploymentPlanDeployer

public JOnASDeploymentPlanDeployer()
Method Detail

deploy

public void deploy(String name)
            throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Try to deploy all bundles for a given deployment plan.

Specified by:
deploy in interface DeploymentPlanDeployer
Parameters:
name - The deployment plan abstract name
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - If the deployment of the deployment plan fails

undeploy

public void undeploy(String name)
              throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Try to undeploy all bundles for a given deployment plan.

Specified by:
undeploy in interface DeploymentPlanDeployer
Parameters:
name - The deployment plan abstract name
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - If the undeployment of the deployment plan fails

setDeploymentPlanDeployer

public void setDeploymentPlanDeployer(org.ow2.util.plan.deployer.api.IDeploymentPlanDeployer deploymentPlanDeployer)
Parameters:
deploymentPlanDeployer - the deploymentPlanDeployer to set

setConfigurationManager

public void setConfigurationManager(ConfigurationManager configurationManager)
Set the ConfigurationManager service.

Parameters:
configurationManager - the configurationManager to set


Copyright © 2010 OW2 Consortium. All Rights Reserved.