Package org.apache.axis2.deployment
Class AbstractDeployer
- java.lang.Object
- 
- org.apache.axis2.deployment.AbstractDeployer
 
- 
- All Implemented Interfaces:
- Deployer
 - Direct Known Subclasses:
- JAXWSDeployer,- ModuleDeployer,- POJODeployer,- ServiceDeployer,- TransportDeployer
 
 public abstract class AbstractDeployer extends Object implements Deployer AbstractDeployer class which can be extended by all Axis2 deployers
- 
- 
Field SummaryFields Modifier and Type Field Description protected Map<String,DeploymentFileData>deploymentFileDataMapThe Mapof all artifacts deployed by this deployer. 
 - 
Constructor SummaryConstructors Constructor Description AbstractDeployer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServiceBuilderExtensions(ServiceBuilderExtension serviceBuilderExtension)voidcleanup()Cleanup deploymentvoiddeploy(DeploymentFileData deploymentFileData)Process a file and add it to the configurationprotected Map<String,AxisService>executeServiceBuilderExtensions(DeploymentFileData deploymentFileData, ConfigurationContext configurationContext)This method executes ServiceBuilderExtensions associated with this Deployer instance and return a list AxisService instances.List<ServiceBuilderExtension>getServiceBuilderExtensions()voidundeploy(String fileName)Remove a given file from the configuration- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.axis2.deployment.Deployerinit, setDirectory, setExtension
 
- 
 
- 
- 
- 
Field Detail- 
deploymentFileDataMapprotected Map<String,DeploymentFileData> deploymentFileDataMap The Mapof all artifacts deployed by this deployer. 
 
- 
 - 
Method Detail- 
deploypublic void deploy(DeploymentFileData deploymentFileData) throws DeploymentException Description copied from interface:DeployerProcess a file and add it to the configuration- Specified by:
- deployin interface- Deployer
- Parameters:
- deploymentFileData- the DeploymentFileData object to deploy
- Throws:
- DeploymentException- if there is a problem
 
 - 
undeploypublic void undeploy(String fileName) throws DeploymentException Description copied from interface:DeployerRemove a given file from the configuration- Specified by:
- undeployin interface- Deployer
- Parameters:
- fileName- name of item to remove
- Throws:
- DeploymentException- if there is a problem
 
 - 
cleanuppublic void cleanup() throws DeploymentExceptionDescription copied from interface:DeployerCleanup deployment- Specified by:
- cleanupin interface- Deployer
- Throws:
- DeploymentException- If an error occurs during cleanup
 
 - 
getServiceBuilderExtensionspublic List<ServiceBuilderExtension> getServiceBuilderExtensions() 
 - 
addServiceBuilderExtensionspublic void addServiceBuilderExtensions(ServiceBuilderExtension serviceBuilderExtension) 
 - 
executeServiceBuilderExtensionsprotected Map<String,AxisService> executeServiceBuilderExtensions(DeploymentFileData deploymentFileData, ConfigurationContext configurationContext) throws DeploymentException This method executes ServiceBuilderExtensions associated with this Deployer instance and return a list AxisService instances. It is required to explicitly call this method within the deploy() method in order to use ServiceBuilderExtension.- Parameters:
- deploymentFileData-
- configurationContext-
- Returns:
- Throws:
- DeploymentException
 
 
- 
 
-