public abstract class AbstractDeployer extends Object implements Deployer
Modifier and Type | Field and Description |
---|---|
protected Map<String,DeploymentFileData> |
deploymentFileDataMap
The Map
|
Constructor and Description |
---|
AbstractDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
addServiceBuilderExtensions(ServiceBuilderExtension serviceBuilderExtension) |
void |
cleanup()
Cleanup deployment
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
protected 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() |
void |
undeploy(String fileName)
Remove a given file from the configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, setDirectory, setExtension
protected Map<String,DeploymentFileData> deploymentFileDataMap
public void deploy(DeploymentFileData deploymentFileData) throws DeploymentException
Deployer
deploy
in interface Deployer
deploymentFileData
- the DeploymentFileData object to deployDeploymentException
- if there is a problempublic void undeploy(String fileName) throws DeploymentException
Deployer
undeploy
in interface Deployer
fileName
- name of item to removeDeploymentException
- if there is a problempublic void cleanup() throws DeploymentException
Deployer
cleanup
in interface Deployer
DeploymentException
- If an error occurs during cleanuppublic List<ServiceBuilderExtension> getServiceBuilderExtensions()
public void addServiceBuilderExtensions(ServiceBuilderExtension serviceBuilderExtension)
protected Map<String,AxisService> executeServiceBuilderExtensions(DeploymentFileData deploymentFileData, ConfigurationContext configurationContext) throws DeploymentException
deploymentFileData
- configurationContext
- DeploymentException
Copyright © The Apache Software Foundation. All Rights Reserved.