public interface Deployer
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Cleanup deployment
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer
|
void |
setDirectory(java.lang.String directory)
Set the directory
|
void |
setExtension(java.lang.String extension)
Set the extension to look for
TODO: Support multiple extensions?
|
void |
undeploy(java.lang.String fileName)
Remove a given file from the configuration
|
void init(ConfigurationContext configCtx)
configCtx - our ConfigurationContextvoid deploy(DeploymentFileData deploymentFileData) throws DeploymentException
deploymentFileData - the DeploymentFileData object to deployDeploymentException - if there is a problemvoid setDirectory(java.lang.String directory)
directory - directory namevoid setExtension(java.lang.String extension)
extension - the file extension associated with this Deployervoid undeploy(java.lang.String fileName)
throws DeploymentException
fileName - name of item to removeDeploymentException - if there is a problemvoid cleanup()
throws DeploymentException
DeploymentException - If an error occurs during cleanupCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.