public class TaskDeployer extends AbstractSynapseArtifactDeployer
Startup Task
deployment and undeploymentAbstractSynapseArtifactDeployer
cfgCtx, deployerLog
Constructor and Description |
---|
TaskDeployer() |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
deploy, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, handleSynapseArtifactDeploymentError, handleSynapseArtifactDeploymentError, init, setDirectory, setExtension, undeploy, waitForCompletion, writeToFile
public String deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, String fileName, Properties properties)
AbstractSynapseArtifactDeployer
deploySynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactConfig
- 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)
AbstractSynapseArtifactDeployer
updateSynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactConfig
- 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 undeploySynapseArtifact(String artifactName)
AbstractSynapseArtifactDeployer
undeploySynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactName
- name of the artifact to be undeployedAbstractSynapseArtifactDeployer.undeploy(String)
public void restoreSynapseArtifact(String artifactName)
AbstractSynapseArtifactDeployer
restoreSynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactName
- name of the artifact to be restoredCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.