org.wso2.carbon.application.deployer.mashup
Class MashupAppDeployer

java.lang.Object
  extended by 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


Field Summary
static String MASHUP_CONTEXT
           
static String MASHUP_DIR
           
static String MASHUP_TYPE
           
 
Constructor Summary
MashupAppDeployer()
           
 
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
 

Field Detail

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
Constructor Detail

MashupAppDeployer

public MashupAppDeployer()
Method Detail

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 artifacts
axisConfig - - 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 artifacts
axisConfig - - AxisConfiguration of the current tenant


Copyright © 2015 WSO2. All rights reserved.