public class LibraryArtifactDeployer extends AbstractSynapseArtifactDeployer
cfgCtx, deployerLog| Constructor and Description |
|---|
LibraryArtifactDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)
This method is called by the axis2 deployment framework and it performs a synapse artifact
specific yet common across all the artifacts, set of tasks and delegate the actual deployment
to the respective artifact deployers.
|
String |
deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
String fileName,
Properties properties)
All synapse artifact deployers MUST implement this method and it handles artifact specific
deployment tasks of those artifacts.
|
void |
restoreSynapseArtifact(String artifactName)
All synapse artifact deployers MUST implement this method and it handles artifact specific
restore tasks of those artifacts upon a failure of an update or undeployment.
|
void |
setDirectory(String directory) |
void |
setExtension(String extension) |
void |
undeploy(String fileName)
This is the method called by the axis2 framework for undeployment of the artifacts.
|
void |
undeploySynapseArtifact(String artifactName)
All synapse artifact deployers MUST implement this method and it handles artifact specific
undeployment tasks of those artifacts.
|
String |
updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
String fileName,
String existingArtifactName,
Properties properties)
All synapse artifact deployers MUST implement this method and it handles artifact specific
update tasks of those artifacts.
|
getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, handleSynapseArtifactDeploymentError, handleSynapseArtifactDeploymentError, init, waitForCompletion, writeToFilepublic void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)
throws org.apache.axis2.deployment.DeploymentException
AbstractSynapseArtifactDeployerdeploy in interface org.apache.axis2.deployment.Deployerdeploy in class AbstractSynapseArtifactDeployerdeploymentFileData - file to be used for the deploymentorg.apache.axis2.deployment.DeploymentException - in-case of an error in deploying the fileAbstractSynapseArtifactDeployer.deploySynapseArtifact(org.apache.axiom.om.OMElement,
String,java.util.Properties)public void undeploy(String fileName) throws org.apache.axis2.deployment.DeploymentException
AbstractSynapseArtifactDeployerundeploy in interface org.apache.axis2.deployment.Deployerundeploy in class AbstractSynapseArtifactDeployerfileName - file describing the artifact to be undeployedorg.apache.axis2.deployment.DeploymentException - in case of an error in undeploymentAbstractSynapseArtifactDeployer.undeploySynapseArtifact(
String)public void undeploySynapseArtifact(String artifactName)
AbstractSynapseArtifactDeployerundeploySynapseArtifact in class AbstractSynapseArtifactDeployerartifactName - name of the artifact to be undeployedAbstractSynapseArtifactDeployer.undeploy(String)public void setDirectory(String directory)
setDirectory in interface org.apache.axis2.deployment.DeployersetDirectory in class AbstractSynapseArtifactDeployerpublic void setExtension(String extension)
setExtension in interface org.apache.axis2.deployment.DeployersetExtension in class AbstractSynapseArtifactDeployerpublic String deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, String fileName, Properties properties)
AbstractSynapseArtifactDeployerdeploySynapseArtifact in class AbstractSynapseArtifactDeployerartifactConfig - built element representing the artifact to be deployed loaded
from the filefileName - file name from which this artifact is being loadedproperties - Properties associated with the artifactAbstractSynapseArtifactDeployer.deploy(
org.apache.axis2.deployment.repository.util.DeploymentFileData)public String updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, String fileName, String existingArtifactName, Properties properties)
AbstractSynapseArtifactDeployerupdateSynapseArtifact in class AbstractSynapseArtifactDeployerartifactConfig - built element representing the artifact to be deployed loaded
from the filefileName - file name from which this artifact is being loadedexistingArtifactName - name of the artifact that was being deployed using
the updated fileproperties - bag of properties with the additional informationpublic void restoreSynapseArtifact(String artifactName)
AbstractSynapseArtifactDeployerrestoreSynapseArtifact in class AbstractSynapseArtifactDeployerartifactName - name of the artifact to be restoredCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.