public class ServiceDeployer extends AbstractDeployer
deploymentFileDataMap| Constructor and Description |
|---|
ServiceDeployer() |
| 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(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
|
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(java.lang.String directory)
Deployerdirectory - directory namepublic void setExtension(java.lang.String extension)
Deployerextension - the file extension associated with this Deployerpublic void undeploy(java.lang.String fileName)
throws DeploymentException
Deployerundeploy in interface Deployerundeploy in class AbstractDeployerfileName - name of item to removeDeploymentException - if there is a problemCopyright © 2004-2024 The Apache Software Foundation. All Rights Reserved.