org.ow2.jonas.resource.internal
Class RARDeployer

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
      extended by org.ow2.jonas.resource.internal.RARDeployer
All Implemented Interfaces:
org.ow2.util.ee.deploy.api.deployer.IDeployer

public class RARDeployer
extends org.ow2.util.ee.deploy.impl.deployer.AbsDeployer

This deployer will deploy RAR module.

Author:
Florent BENOIT

Field Summary
 
Fields inherited from class org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
deployedDeployables
 
Constructor Summary
RARDeployer()
           
 
Method Summary
 void doDeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
          Deploy the given RAR.
 void doUndeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
          Undeploy the given RAR.
 void setResourceService(ResourceService resourceService)
          Sets the RAR service.
 boolean supports(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
          Checks if the given deployable is supported by the Deployer.
 
Methods inherited from class org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
check, deploy, getDeployedDeployables, getFile, getURL, isDeployed, stop, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RARDeployer

public RARDeployer()
Method Detail

doUndeploy

public void doUndeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
                throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Undeploy the given RAR.

Specified by:
doUndeploy in class org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
Parameters:
deployable - the deployable to remove.
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the RAR is not undeployed.

doDeploy

public void doDeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
              throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Deploy the given RAR.

Specified by:
doDeploy in class org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
Parameters:
deployable - the deployable to add.
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the RAR is not deployed.

supports

public boolean supports(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Checks if the given deployable is supported by the Deployer.

Specified by:
supports in interface org.ow2.util.ee.deploy.api.deployer.IDeployer
Specified by:
supports in class org.ow2.util.ee.deploy.impl.deployer.AbsDeployer
Parameters:
deployable - the deployable to be checked
Returns:
true if it is supported, else false.

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the RAR service.

Parameters:
resourceService - RAR service.


Copyright © 2010 OW2 Consortium. All Rights Reserved.