public class POJODeployer extends AbstractDeployer
deploymentFileDataMap
Constructor and Description |
---|
POJODeployer() |
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 |
setMessageReceivers(AxisService service) |
void |
undeploy(String fileName)
Remove a given file from the configuration
|
cleanup
public void init(ConfigurationContext configCtx)
Deployer
configCtx
- our ConfigurationContextpublic void deploy(DeploymentFileData deploymentFileData)
Deployer
deploy
in interface Deployer
deploy
in class AbstractDeployer
deploymentFileData
- the DeploymentFileData object to deploypublic void setMessageReceivers(AxisService service)
public void setDirectory(String directory)
Deployer
directory
- directory namepublic void setExtension(String extension)
Deployer
extension
- the file extension associated with this Deployerpublic void undeploy(String fileName) throws DeploymentException
Deployer
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
fileName
- name of item to removeDeploymentException
- if there is a problemCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.