|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jonas.ejb.easybeans.EasyBeansDeployer
public class EasyBeansDeployer
This deployer will deploy EJB3 on EasyBeans.
| Constructor Summary | |
|---|---|
EasyBeansDeployer()
Build a new instance of the EasyBeans deployer. |
|
| Method Summary | |
|---|---|
void |
deploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Deploy a deployable. |
protected void |
deployEJB3(org.ow2.util.ee.deploy.api.deployable.EJB3Deployable ejb3Deployable)
Deploy the given deployable. |
Map<URL,org.ow2.util.ee.deploy.api.deployable.EJB3Deployable> |
getEJB3s()
Returns a Map containing all deployed EJB3s. |
org.ow2.jonas.properties.ServerProperties |
getServerProperties()
Returns the server properties. |
org.ow2.jonas.versioning.VersioningService |
getVersioningService()
|
boolean |
isDeployed(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Checks if the given deployable is deployed or not. |
void |
setDeployerLog(org.ow2.jonas.lib.work.DeployerLog deployerLog)
Set the DeployerLog of the EasyBeansDeployer. |
void |
setEmbedded(org.ow2.easybeans.server.Embedded easybeansServer)
Sets the EasyBeans embedded instance. |
void |
setServerProperties(org.ow2.jonas.properties.ServerProperties serverProperties)
Set the server properties. |
void |
setVersioningService(org.ow2.jonas.versioning.VersioningService versioningService)
|
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 deployable. |
protected void |
undeployEJB3(org.ow2.util.ee.deploy.api.deployable.EJB3Deployable ejb3Deployable)
Undeploy the given EJB3. |
void |
unsetVersioningService()
Sets the versioning service to null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EasyBeansDeployer()
| Method Detail |
|---|
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.
protected void deployEJB3(org.ow2.util.ee.deploy.api.deployable.EJB3Deployable ejb3Deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
ejb3Deployable - the EJB3 deployable.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the EJB3 is not deployed.
protected void undeployEJB3(org.ow2.util.ee.deploy.api.deployable.EJB3Deployable ejb3Deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
ejb3Deployable - the deployable to remove.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the EJB3 is not deployed.
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 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 Map<URL,org.ow2.util.ee.deploy.api.deployable.EJB3Deployable> getEJB3s()
public void setEmbedded(org.ow2.easybeans.server.Embedded easybeansServer)
easybeansServer - the EasyBeans instance.public org.ow2.jonas.properties.ServerProperties getServerProperties()
public void setServerProperties(org.ow2.jonas.properties.ServerProperties serverProperties)
serverProperties - the given server propertiespublic void setVersioningService(org.ow2.jonas.versioning.VersioningService versioningService)
versioningService - The versioning service to set.public void unsetVersioningService()
public org.ow2.jonas.versioning.VersioningService getVersioningService()
public void setDeployerLog(org.ow2.jonas.lib.work.DeployerLog deployerLog)
deployerLog - the DeployerLog to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||