Package org.apache.axis2.deployment
Class POJODeployer
- java.lang.Object
-
- org.apache.axis2.deployment.AbstractDeployer
-
- org.apache.axis2.deployment.POJODeployer
-
- All Implemented Interfaces:
Deployer
public class POJODeployer extends AbstractDeployer
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap
-
-
Constructor Summary
Constructors Constructor Description POJODeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configurationvoid
init(ConfigurationContext configCtx)
Initialize the Deployervoid
setDirectory(String directory)
Set the directoryvoid
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-
Methods inherited from class org.apache.axis2.deployment.AbstractDeployer
addServiceBuilderExtensions, cleanup, executeServiceBuilderExtensions, getServiceBuilderExtensions
-
-
-
-
Method Detail
-
init
public void init(ConfigurationContext configCtx)
Description copied from interface:Deployer
Initialize the Deployer- Parameters:
configCtx
- our ConfigurationContext
-
deploy
public void deploy(DeploymentFileData deploymentFileData)
Description copied from interface:Deployer
Process a file and add it to the configuration- Specified by:
deploy
in interfaceDeployer
- Overrides:
deploy
in classAbstractDeployer
- Parameters:
deploymentFileData
- the DeploymentFileData object to deploy
-
setMessageReceivers
public void setMessageReceivers(AxisService service)
-
setDirectory
public void setDirectory(String directory)
Description copied from interface:Deployer
Set the directory- Parameters:
directory
- directory name
-
setExtension
public void setExtension(String extension)
Description copied from interface:Deployer
Set the extension to look for TODO: Support multiple extensions?- Parameters:
extension
- the file extension associated with this Deployer
-
undeploy
public void undeploy(String fileName) throws DeploymentException
Description copied from interface:Deployer
Remove a given file from the configuration- Specified by:
undeploy
in interfaceDeployer
- Overrides:
undeploy
in classAbstractDeployer
- Parameters:
fileName
- name of item to remove- Throws:
DeploymentException
- if there is a problem
-
-