org.apache.axis2.deployment
Class ModuleDeployer
java.lang.Object
org.apache.axis2.deployment.AbstractDeployer
org.apache.axis2.deployment.ModuleDeployer
- All Implemented Interfaces:
- Deployer
public class ModuleDeployer
- extends AbstractDeployer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleDeployer
public ModuleDeployer()
ModuleDeployer
public ModuleDeployer(AxisConfiguration axisConfig)
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 interface Deployer
- Overrides:
deploy
in class AbstractDeployer
- Parameters:
deploymentFileData
- the DeploymentFileData object to deploy
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 interface Deployer
- Overrides:
undeploy
in class AbstractDeployer
- Parameters:
fileName
- name of item to remove
- Throws:
DeploymentException
- if there is a problem
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.