public class RuleAppDeployer extends Object implements org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
Modifier and Type | Field and Description |
---|---|
static String |
BRS_DIR |
static String |
BRS_TYPE |
Constructor and Description |
---|
RuleAppDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Check the artifact type and if it is a Rule, call the Rule Axis2 deployer
|
void |
undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Check the artifact type and if it is a Gadget, delete the file from the Gadget deployment hot
folder
|
public static final String BRS_TYPE
public static final String BRS_DIR
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.AppDeploymentHandler
carbonApp
- - CarbonApplication instance to check for BRS artifactsaxisConfig
- - AxisConfiguration of the current tenantorg.apache.axis2.deployment.DeploymentException
public void undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
undeployArtifacts
in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
carbonApp
- - CarbonApplication instance to check for Gadget artifactsaxisConfig
- - AxisConfiguration of the current tenantCopyright © 2019 WSO2. All rights reserved.