org.wso2.carbon.rest.api
Class ApiDeployer

java.lang.Object
  extended by org.apache.axis2.deployment.AbstractDeployer
      extended by org.apache.synapse.deployers.AbstractSynapseArtifactDeployer
          extended by org.apache.synapse.deployers.APIDeployer
              extended by org.wso2.carbon.rest.api.ApiDeployer
All Implemented Interfaces:
org.apache.axis2.deployment.Deployer

public class ApiDeployer
extends org.apache.synapse.deployers.APIDeployer


Field Summary
 
Fields inherited from class org.apache.synapse.deployers.AbstractSynapseArtifactDeployer
cfgCtx, deployerLog
 
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap
 
Constructor Summary
ApiDeployer()
           
 
Method Summary
 String deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, String fileName, Properties properties)
           
 void init(org.apache.axis2.context.ConfigurationContext configCtx)
           
 void restoreSynapseArtifact(String artifactName)
           
 void undeploySynapseArtifact(String artifactName)
           
 String updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig, String fileName, String existingArtifactName, Properties properties)
           
 
Methods inherited from class org.apache.synapse.deployers.AbstractSynapseArtifactDeployer
deploy, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, handleSynapseArtifactDeploymentError, handleSynapseArtifactDeploymentError, setDirectory, setExtension, undeploy, waitForCompletion, writeToFile
 
Methods inherited from class org.apache.axis2.deployment.AbstractDeployer
cleanup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiDeployer

public ApiDeployer()
Method Detail

init

public void init(org.apache.axis2.context.ConfigurationContext configCtx)
Specified by:
init in interface org.apache.axis2.deployment.Deployer
Overrides:
init in class org.apache.synapse.deployers.AbstractSynapseArtifactDeployer

deploySynapseArtifact

public String deploySynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
                                    String fileName,
                                    Properties properties)
Overrides:
deploySynapseArtifact in class org.apache.synapse.deployers.APIDeployer

updateSynapseArtifact

public String updateSynapseArtifact(org.apache.axiom.om.OMElement artifactConfig,
                                    String fileName,
                                    String existingArtifactName,
                                    Properties properties)
Overrides:
updateSynapseArtifact in class org.apache.synapse.deployers.APIDeployer

undeploySynapseArtifact

public void undeploySynapseArtifact(String artifactName)
Overrides:
undeploySynapseArtifact in class org.apache.synapse.deployers.APIDeployer

restoreSynapseArtifact

public void restoreSynapseArtifact(String artifactName)
Overrides:
restoreSynapseArtifact in class org.apache.synapse.deployers.APIDeployer


Copyright © 2015 WSO2. All rights reserved.