org.wso2.carbon.application.deployer.mashup
Class MashupAppDeployer
java.lang.Object
org.wso2.carbon.application.deployer.mashup.MashupAppDeployer
- All Implemented Interfaces:
- org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
public class MashupAppDeployer
- 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 Mashup, copy it to the Mashup 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 Gadget, delete the file from the Gadget deployment hot
folder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MASHUP_TYPE
public static final String MASHUP_TYPE
- See Also:
- Constant Field Values
MASHUP_CONTEXT
public static final String MASHUP_CONTEXT
- See Also:
- Constant Field Values
MASHUP_DIR
public static final String MASHUP_DIR
- See Also:
- Constant Field Values
MashupAppDeployer
public MashupAppDeployer()
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 Mashup, copy it to the Mashup deployment hot folder
- Specified by:
deployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
- Parameters:
carbonApp - - CarbonApplication instance to check for Mashup artifactsaxisConfig - - AxisConfiguration 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 Gadget, delete the file from the Gadget deployment hot
folder
- Specified by:
undeployArtifacts in interface org.wso2.carbon.application.deployer.handler.AppDeploymentHandler
- Parameters:
carbonApp - - CarbonApplication instance to check for Gadget artifactsaxisConfig - - AxisConfiguration of the current tenant
Copyright © 2015 WSO2. All rights reserved.