public class ModuleDeployer extends AbstractDeployer
deploymentFileDataMap| Constructor and Description |
|---|
ModuleDeployer() |
ModuleDeployer(AxisConfiguration axisConfig) |
| 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 ModuleDeployer()
public ModuleDeployer(AxisConfiguration axisConfig)
public void init(ConfigurationContext configCtx)
DeployerconfigCtx - our ConfigurationContextpublic void deploy(DeploymentFileData deploymentFileData)
Deployerdeploy in interface Deployerdeploy in class AbstractDeployerdeploymentFileData - the DeploymentFileData object to deploypublic 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-2015 The Apache Software Foundation. All Rights Reserved.