org.wso2.carbon.application.deployer.handler
Interface AppDeploymentHandler

All Known Implementing Classes:
DefaultAppDeployer, RegistryResourceDeployer

public interface AppDeploymentHandler

This is the common interface for all App deployers. Different deployers deploy different artifacts..


Method Summary
 void deployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Deploy the artifacts which can be deployed through this deployer.
 void undeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Delete the artifacts which can be deleted through this deployer.
 

Method Detail

deployArtifacts

void deployArtifacts(CarbonApplication carbonApp,
                     org.apache.axis2.engine.AxisConfiguration axisConfig)
                     throws org.apache.axis2.deployment.DeploymentException
Deploy the artifacts which can be deployed through this deployer.

Parameters:
carbonApp - - store info in this object after deploying
axisConfig - - AxisConfiguration of the current tenant
Throws:
org.apache.axis2.deployment.DeploymentException

undeployArtifacts

void undeployArtifacts(CarbonApplication carbonApp,
                       org.apache.axis2.engine.AxisConfiguration axisConfig)
                       throws org.apache.axis2.deployment.DeploymentException
Delete the artifacts which can be deleted through this deployer.

Parameters:
carbonApp - - all information about the existing artifacts are in this instance
axisConfig - - AxisConfiguration of the current tenant
Throws:
org.apache.axis2.deployment.DeploymentException


Copyright © 2014 WSO2 Inc. All rights reserved.