public class TransportDeployer extends AbstractDeployer
deploymentFileDataMap| Constructor and Description |
|---|
TransportDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer
|
void |
setDirectory(String directory)
Set the directory
|
void |
setExtension(String extension)
Set the extension to look for
TODO: Support multiple extensions?
|
void |
undeploy(String fileName)
Remove a given file from the configuration
|
cleanuppublic void init(ConfigurationContext configCtx)
DeployerconfigCtx - our ConfigurationContextpublic void deploy(DeploymentFileData deploymentFileData) throws DeploymentException
Deployerdeploy in interface Deployerdeploy in class AbstractDeployerdeploymentFileData - the DeploymentFileData object to deployDeploymentException - if there is a problempublic void setDirectory(String directory)
Deployerdirectory - directory namepublic void setExtension(String extension)
Deployerextension - the file extension associated with this Deployerpublic void undeploy(String fileName) throws DeploymentException
Deployerundeploy in interface Deployerundeploy in class AbstractDeployerfileName - name of item to removeDeploymentException - if there is a problemCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.