|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDeployerManager
Interface of Deployer Manager.
| Method Summary | |
|---|---|
void |
addCallback(IDeployerManagerCallback callback)
Add a new callback instance that will be invoked at each deployment/undeployment phase. |
void |
addCallback(IDeployerManagerReportCallback callback)
Add a new callback instance that will be invoked at each deployment/undeployment phase. |
void |
deploy(IDeployable<?> deployable)
Deploy a given deployable by finding the first deployer that accept this type of deployable. |
List<IDeploymentReport> |
deploy(List<IDeployable<?>> deployables)
Deploy a list of multi type deployable by finding the first deployer that accept each type of deployable. |
List<String> |
getDeployerClasses()
|
boolean |
isDeployed(IDeployable<?> deployable)
Checks if the given deployable is deployed or not. |
void |
register(IDeployer deployer)
Register a new Deployer on this manager instance. |
void |
removeCallback(IDeployerManagerCallback callback)
Remove a callback instance. |
void |
removeCallback(IDeployerManagerReportCallback callback)
Remove a callback instance. |
void |
undeploy(IDeployable<?> deployable)
Undeploy a given deployable by finding the first deployer that accept this type of deployable. |
List<IDeploymentReport> |
undeploy(List<IDeployable<?>> deployables)
Undeploy a list of multi type deployable by finding the first deployer that accept each type of deployable. |
void |
unregister(IDeployer deployer)
Unregister a Deployer from this manager instance. |
| Method Detail |
|---|
void register(IDeployer deployer)
deployer - the deployer to registervoid unregister(IDeployer deployer)
deployer - the given deployer to unregister.
void deploy(IDeployable<?> deployable)
throws DeployerException,
UnsupportedDeployerException
deployable - the given deployable to deploy.
DeployerException - if it cannot be undeployed.
UnsupportedDeployerException - if no deployer is found for the given deployable.
void undeploy(IDeployable<?> deployable)
throws DeployerException,
UnsupportedDeployerException
deployable - the given deployable to undeploy.
DeployerException - if it cannot be undeployed.
UnsupportedDeployerException - if no deployer is found for the given deployable.
boolean isDeployed(IDeployable<?> deployable)
throws DeployerException,
UnsupportedDeployerException
deployable - test if a given deployable is already deployed.
DeployerException - if the isDeployed operation fails.
UnsupportedDeployerException - if no deployer is found for the given deployable.void addCallback(IDeployerManagerCallback callback)
callback - The given callbackvoid removeCallback(IDeployerManagerCallback callback)
callback - The given callbackvoid addCallback(IDeployerManagerReportCallback callback)
callback - The given callbackvoid removeCallback(IDeployerManagerReportCallback callback)
callback - The given callbackList<IDeploymentReport> deploy(List<IDeployable<?>> deployables)
deployables - the list of deployable to deploy.
IDeploymentReportList<IDeploymentReport> undeploy(List<IDeployable<?>> deployables)
deployables - The list of deployable to undeploy.
IDeploymentReportList<String> getDeployerClasses()
IDeployer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||