org.apache.axis2.deployment
Class AbstractDeployer

java.lang.Object
  extended by org.apache.axis2.deployment.AbstractDeployer
All Implemented Interfaces:
Deployer
Direct Known Subclasses:
CorbaDeployer, JAXWSDeployer, ModuleDeployer, POJODeployer, ServiceDeployer, TransportDeployer

public abstract class AbstractDeployer
extends Object
implements Deployer

AbstractDeployer class which can be extended by all Axis2 deployers


Field Summary
protected  Map<String,DeploymentFileData> deploymentFileDataMap
          The Map of all artifacts deployed by this deployer.
 
Constructor Summary
AbstractDeployer()
           
 
Method Summary
 void cleanup()
          Cleanup deployment
 void deploy(DeploymentFileData deploymentFileData)
          Process a file and add it to the configuration
 void undeploy(String fileName)
          Remove a given file from the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.deployment.Deployer
init, setDirectory, setExtension
 

Field Detail

deploymentFileDataMap

protected Map<String,DeploymentFileData> deploymentFileDataMap
The Map of all artifacts deployed by this deployer.

Constructor Detail

AbstractDeployer

public AbstractDeployer()
Method Detail

deploy

public void deploy(DeploymentFileData deploymentFileData)
            throws DeploymentException
Description copied from interface: Deployer
Process a file and add it to the configuration

Specified by:
deploy in interface Deployer
Parameters:
deploymentFileData - the DeploymentFileData object to deploy
Throws:
DeploymentException - if there is a problem

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
Parameters:
fileName - name of item to remove
Throws:
DeploymentException - if there is a problem

cleanup

public void cleanup()
             throws DeploymentException
Description copied from interface: Deployer
Cleanup deployment

Specified by:
cleanup in interface Deployer
Throws:
DeploymentException - If an error occurs during cleanup


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.