public abstract class AbstractDeployer extends Object implements Deployer
Modifier and Type | Field and Description |
---|---|
protected Map<String,DeploymentFileData> |
deploymentFileDataMap
The Map
|
Constructor and Description |
---|
AbstractDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup deployment
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
void |
undeploy(String fileName)
Remove a given file from the configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, setDirectory, setExtension
protected Map<String,DeploymentFileData> deploymentFileDataMap
public void deploy(DeploymentFileData deploymentFileData) throws DeploymentException
Deployer
deploy
in interface Deployer
deploymentFileData
- the DeploymentFileData object to deployDeploymentException
- if there is a problempublic void undeploy(String fileName) throws DeploymentException
Deployer
undeploy
in interface Deployer
fileName
- name of item to removeDeploymentException
- if there is a problempublic void cleanup() throws DeploymentException
Deployer
cleanup
in interface Deployer
DeploymentException
- If an error occurs during cleanupCopyright © 2004–2013 The Apache Software Foundation. All rights reserved.