public interface Deployer
A deployer is responsible for handling one type of artifact deployment.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Check if this deployer is able to handle a given artifact.
|
ServiceUnit |
deploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Actually deploys the given service unit and build a ServiceUnit object
that contains endpoints.
|
void |
undeploy(ServiceUnit su)
Undeploys the given service unit.
|
boolean canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unittrue if this deployer can handle the given artifactServiceUnit deploy(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath) throws javax.jbi.management.DeploymentException
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unitjavax.jbi.management.DeploymentException - if an error occursvoid undeploy(ServiceUnit su) throws javax.jbi.management.DeploymentException
su - the service unit to undeployjavax.jbi.management.DeploymentExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.