public class ProxyServiceDeployer extends AbstractSynapseArtifactDeployer
ProxyService
deployment and undeployment tasksAbstractSynapseArtifactDeployer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
failSafeStr |
cfgCtx, customLogContent, deployerLog
Constructor and Description |
---|
ProxyServiceDeployer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
java.lang.String filePath,
java.util.Properties properties)
All synapse artifact deployers MUST implement this method and it handles artifact specific
deployment tasks of those artifacts.
|
void |
restoreSynapseArtifact(java.lang.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(java.lang.String artifactName)
All synapse artifact deployers MUST implement this method and it handles artifact specific
undeployment tasks of those artifacts.
|
java.lang.String |
updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
java.lang.String fileName,
java.lang.String existingArtifactName,
java.util.Properties properties)
All synapse artifact deployers MUST implement this method and it handles artifact specific
update tasks of those artifacts.
|
deploy, executeExtendedSynapseHandlerOnArtifactDeployment, executeSynapseHandlerOnArtifactUnDeployment, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, handleSynapseArtifactDeploymentError, handleSynapseArtifactDeploymentError, init, setCustomLog, setDirectory, setExtension, undeploy, waitForCompletion, writeToFile
public java.lang.String deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, java.lang.String filePath, java.util.Properties properties)
AbstractSynapseArtifactDeployer
deploySynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactConfig
- built element representing the artifact to be deployed loaded
from the filefilePath
- file name from which this artifact is being loadedproperties
- Properties associated with the artifactAbstractSynapseArtifactDeployer.deploy(
org.apache.axis2.deployment.repository.util.DeploymentFileData)
public java.lang.String updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, java.lang.String fileName, java.lang.String existingArtifactName, java.util.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(java.lang.String artifactName)
AbstractSynapseArtifactDeployer
undeploySynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactName
- name of the artifact to be undeployedAbstractSynapseArtifactDeployer.undeploy(String)
public void restoreSynapseArtifact(java.lang.String artifactName)
AbstractSynapseArtifactDeployer
restoreSynapseArtifact
in class AbstractSynapseArtifactDeployer
artifactName
- name of the artifact to be restoredCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.