Package org.apache.axis2.deployment
Class TransportDeployer
- java.lang.Object
-
- org.apache.axis2.deployment.AbstractDeployer
-
- org.apache.axis2.deployment.TransportDeployer
-
- All Implemented Interfaces:
Deployer
public class TransportDeployer extends AbstractDeployer
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap
-
-
Constructor Summary
Constructors Constructor Description TransportDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentFileData deploymentFileData)Process a file and add it to the configurationvoidinit(ConfigurationContext configCtx)Initialize the DeployervoidsetDirectory(String directory)Set the directoryvoidsetExtension(String extension)Set the extension to look for TODO: Support multiple extensions?voidundeploy(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:DeployerInitialize the Deployer- Parameters:
configCtx- our ConfigurationContext
-
deploy
public void deploy(DeploymentFileData deploymentFileData) throws DeploymentException
Description copied from interface:DeployerProcess a file and add it to the configuration- Specified by:
deployin interfaceDeployer- Overrides:
deployin classAbstractDeployer- Parameters:
deploymentFileData- the DeploymentFileData object to deploy- Throws:
DeploymentException- if there is a problem
-
setDirectory
public void setDirectory(String directory)
Description copied from interface:DeployerSet the directory- Parameters:
directory- directory name
-
setExtension
public void setExtension(String extension)
Description copied from interface:DeployerSet 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:DeployerRemove a given file from the configuration- Specified by:
undeployin interfaceDeployer- Overrides:
undeployin classAbstractDeployer- Parameters:
fileName- name of item to remove- Throws:
DeploymentException- if there is a problem
-
-