|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.resource.internal.RARDeployer
public class RARDeployer
This deployer will deploy RAR module.
| Constructor Summary | |
|---|---|
RARDeployer()
|
|
| Method Summary | |
|---|---|
void |
deploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Deploy a RAR deployable. |
protected void |
deployRAR(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
Deploy the given RAR. |
protected File |
getFile(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
Allows to get a File from the given RAR Deployable. |
boolean |
isDeployed(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Checks if the given deployable is deployed or not. |
void |
setResourceService(org.ow2.jonas.resource.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. |
void |
undeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Undeploy the given RAR deployable. |
protected void |
undeployRAR(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
Undeploy the given RAR. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RARDeployer()
| Method Detail |
|---|
protected void undeployRAR(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
rarDeployable - the deployable to remove.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the RAR is not undeployed.
protected void deployRAR(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
rarDeployable - the deployable to add.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the RAR is not deployed.
protected File getFile(org.ow2.util.ee.deploy.api.deployable.RARDeployable rarDeployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
rarDeployable - the given RAR deployable.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the File can't be obtained.
public void deploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
deploy in interface org.ow2.util.ee.deploy.api.deployer.IDeployerdeployable - a given deployable
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the deployment is not done.
public boolean isDeployed(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
isDeployed in interface org.ow2.util.ee.deploy.api.deployer.IDeployerdeployable - test if a given deployable is already deployed.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the undeploy operation fails.public boolean supports(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
supports in interface org.ow2.util.ee.deploy.api.deployer.IDeployerdeployable - the deployable to be checked
public void undeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
undeploy in interface org.ow2.util.ee.deploy.api.deployer.IDeployerdeployable - a given deployable to undeploy
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the undeploy operation fails.public void setResourceService(org.ow2.jonas.resource.ResourceService resourceService)
resourceService - RAR service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||