|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deployer
A deployer is responsible for handling one type of artifact deployment.
| Method Summary | |
|---|---|
boolean |
canDeploy(String serviceUnitName,
String serviceUnitRootPath)
Check if this deployer is able to handle a given artifact. |
ServiceUnit |
deploy(String serviceUnitName,
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. |
| Method Detail |
|---|
boolean canDeploy(String serviceUnitName,
String serviceUnitRootPath)
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
true if this deployer can handle the given artifact
ServiceUnit deploy(String serviceUnitName,
String serviceUnitRootPath)
throws DeploymentException
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
DeploymentException - if an error occurs
void undeploy(ServiceUnit su)
throws DeploymentException
su - the service unit to undeploy
DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||