org.wso2.carbon.application.deployer.webapp
Class WARCappDeployer
java.lang.Object
org.wso2.carbon.application.deployer.webapp.WARCappDeployer
- All Implemented Interfaces:
- org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
public class WARCappDeployer
- extends Object
- implements org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAR_TYPE
public static final String WAR_TYPE
- See Also:
- Constant Field Values
JAX_WAR_TYPE
public static final String JAX_WAR_TYPE
- See Also:
- Constant Field Values
WAR_DIR
public static final String WAR_DIR
- See Also:
- Constant Field Values
WARCappDeployer
public WARCappDeployer()
deployArtifacts
public void deployArtifacts(org.wso2.carbon.application.deployer.CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
throws org.apache.axis2.deployment.DeploymentException
- Check the artifact type and if it is a WAR, copy it to the WAR deployment hot folder
- Specified by:
deployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
- Parameters:
carbonApp - - CarbonApplication instance to check for WAR artifactsaxisConfig - - axisConfig of the current tenant
- Throws:
org.apache.axis2.deployment.DeploymentException
undeployArtifacts
public 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
- Specified by:
undeployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
- Parameters:
carbonApp - - CarbonApplication instance to check for WAR artifactsaxisConfig - - AxisConfiguration of the current tenant
Copyright © 2015 WSO2. All rights reserved.