|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jonas.deployer.DeployerManagerService
public class DeployerManagerService
This service is in fact a singleton but the deployer manager should be exposed as an OSGi service.
Constructor Summary | |
---|---|
DeployerManagerService()
|
Method Summary | |
---|---|
static void |
deploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Deploy a given deployable by finding the first deployer that accept this type of deployable. |
static org.ow2.util.ee.deploy.api.deployer.IDeployerManager |
getDeployerManager()
Init the deployer manager if there is no previous manager. |
static void |
isDeployed(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Deploy a given deployable by finding the first deployer that accept this type of deployable. |
static void |
register(org.ow2.util.ee.deploy.api.deployer.IDeployer deployer)
Register a new Deployer on this manager instance. |
static void |
undeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Undeploy a given deployable by finding the first deployer that accept this type of deployable. |
static void |
unregister(org.ow2.util.ee.deploy.api.deployer.IDeployer deployer)
Unregister a Deployer from this manager instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeployerManagerService()
Method Detail |
---|
public static void register(org.ow2.util.ee.deploy.api.deployer.IDeployer deployer)
deployer
- the deployer to registerpublic static void unregister(org.ow2.util.ee.deploy.api.deployer.IDeployer deployer)
deployer
- the given deployer to unregister.public static org.ow2.util.ee.deploy.api.deployer.IDeployerManager getDeployerManager()
public static void deploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable) throws org.ow2.util.ee.deploy.api.deployer.DeployerException
deployable
- the given deployable to deploy.
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if it cannot be undeployed.public static void undeploy(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable) throws org.ow2.util.ee.deploy.api.deployer.DeployerException
deployable
- the given deployable to undeploy.
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if it cannot be undeployed.public static void isDeployed(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable) throws org.ow2.util.ee.deploy.api.deployer.DeployerException
deployable
- the given deployable to deploy.
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if it cannot be undeployed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |