org.wso2.carbon.application.deployer.synapse
Class SynapseAppDeployer

java.lang.Object
  extended by org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer
All Implemented Interfaces:
org.wso2.carbon.application.deployer.handler.AppDeploymentHandler

public class SynapseAppDeployer
extends Object
implements org.wso2.carbon.application.deployer.handler.AppDeploymentHandler


Constructor Summary
SynapseAppDeployer()
           
 
Method Summary
 void deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Deploy the artifacts which can be deployed through this deployer (endpoints, sequences, proxy service etc.).
 void undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApplication, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Un-deploys Synapse artifacts found in this application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynapseAppDeployer

public SynapseAppDeployer()
Method Detail

deployArtifacts

public void deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
                            org.apache.axis2.engine.AxisConfiguration axisConfig)
                     throws org.apache.axis2.deployment.DeploymentException
Deploy the artifacts which can be deployed through this deployer (endpoints, sequences, proxy service etc.).

Specified by:
deployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
Parameters:
carbonApp - - CarbonApplication instance to check for artifacts
axisConfig - - AxisConfiguration of the current tenant
Throws:
org.apache.axis2.deployment.DeploymentException

undeployArtifacts

public void undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApplication,
                              org.apache.axis2.engine.AxisConfiguration axisConfig)
                       throws org.apache.axis2.deployment.DeploymentException
Un-deploys Synapse artifacts found in this application. Just delete the files from the hot folders. Synapse hot deployer will do the rest..

Specified by:
undeployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
Parameters:
carbonApplication - - CarbonApplication instance
axisConfig - - AxisConfiguration of the current tenant
Throws:
org.apache.axis2.deployment.DeploymentException


Copyright © 2015 WSO2. All rights reserved.