public class WARCappDeployer extends Object implements org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
JAX_WAR_TYPE |
static String |
WAR_DIR |
static String |
WAR_TYPE |
| Constructor and Description |
|---|
WARCappDeployer() |
| 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 WAR, copy it to the WAR deployment hot folder
|
void |
undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Check the artifact type and if it is a WAR, delete the file from the WAR
deployment hot folder
|
public static final String WAR_TYPE
public static final String JAX_WAR_TYPE
public static final String WAR_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.AppDeploymentHandlercarbonApp - - CarbonApplication instance to check for WAR artifactsaxisConfig - - axisConfig of the current tenantorg.apache.axis2.deployment.DeploymentExceptionpublic void undeployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
undeployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandlercarbonApp - - CarbonApplication instance to check for WAR artifactsaxisConfig - - AxisConfiguration of the current tenantCopyright © 2019 WSO2. All rights reserved.