public class DataSourceCappDeployer extends Object implements org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_SOURCE_TYPE |
| Constructor and Description |
|---|
DataSourceCappDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Deploy the data source artifacts and add them to datasources.
|
void |
undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Un-deploy the data sources and remove them from datasources.
|
public static final String DATA_SOURCE_TYPE
public void deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
throws org.apache.axis2.deployment.DeploymentException
deployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandlercarbonApp - - store info in this object after deployingaxisConfig - - AxisConfiguration of the current tenantorg.apache.axis2.deployment.DeploymentExceptionpublic void undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
throws org.apache.axis2.deployment.DeploymentException
undeployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandlercarbonApp - - all information about the existing artifacts are in this instance.axisConfig - - AxisConfiguration of the current tenant.org.apache.axis2.deployment.DeploymentExceptionCopyright © 2019 WSO2. All rights reserved.