-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Create a simplified API facade atop VDF to accept ShrinkWrap archives for deployment/undeployment. ie:
/**
- Deploys the specified archives into the Virtual Deployment Framework
- as an atomic operation.
- @param archives The archives to deploy
- @throws IllegalArgumentException If the archives are not specified (null)
- @throws DeploymentException If an error occurred in deployment
*/
void deploy(Archive<?>... archives) throws IllegalArgumentException, DeploymentException;
/**
- Undeploys the specified archives from the Virtual Deployment Framework. Each
- archive must have been previously deployed in via this {@link ShrinkWrapDeployer}
- instance, else it will be ignored and logged as a warning.
- @param archives The archives to undeploy
- @throws IllegalArgumentException If the archives are not specified
- @throws DeploymentException If an error occurred during undeployment
*/
void undeploy(Archive<?>... archives) throws IllegalArgumentException, DeploymentException;