org.wso2.carbon.application.deployer.handler
Class DefaultAppDeployer

java.lang.Object
  extended by org.wso2.carbon.application.deployer.handler.DefaultAppDeployer
All Implemented Interfaces:
AppDeploymentHandler

public class DefaultAppDeployer
extends Object
implements AppDeploymentHandler

This is one of the default handlers which is registered into the ApplicationManager. This class deploys AAR services, JAXWS services, Data services and libs.


Field Summary
static String AAR_TYPE
           
static String BUNDLE_TYPE
           
static String DS_DIR
           
static String DS_TYPE
           
static String MEDIATOR_TYPE
           
 
Constructor Summary
DefaultAppDeployer()
           
 
Method Summary
 void deployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Deploy the artifacts which can be deployed through this deployer (Axis2 services, JAXWS services ..).
 void undeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)
          Undeploys AAR, Data services, libs etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AAR_TYPE

public static final String AAR_TYPE
See Also:
Constant Field Values

DS_TYPE

public static final String DS_TYPE
See Also:
Constant Field Values

BUNDLE_TYPE

public static final String BUNDLE_TYPE
See Also:
Constant Field Values

MEDIATOR_TYPE

public static final String MEDIATOR_TYPE
See Also:
Constant Field Values

DS_DIR

public static final String DS_DIR
See Also:
Constant Field Values
Constructor Detail

DefaultAppDeployer

public DefaultAppDeployer()
Method Detail

deployArtifacts

public void deployArtifacts(CarbonApplication carbonApp,
                            org.apache.axis2.engine.AxisConfiguration axisConfig)
                     throws org.apache.axis2.deployment.DeploymentException
Deploy the artifacts which can be deployed through this deployer (Axis2 services, JAXWS services ..).

Specified by:
deployArtifacts in interface AppDeploymentHandler
Parameters:
carbonApp - - find artifacts from this CarbonApplication instance
axisConfig - - AxisConfiguration of the current tenant
Throws:
org.apache.axis2.deployment.DeploymentException

undeployArtifacts

public void undeployArtifacts(CarbonApplication carbonApp,
                              org.apache.axis2.engine.AxisConfiguration axisConfig)
Undeploys AAR, Data services, libs etc.

Specified by:
undeployArtifacts in interface AppDeploymentHandler
Parameters:
carbonApp - - all information about the existing artifacts are in this instance
axisConfig - - AxisConfiguration of the current tenant


Copyright © 2014 WSO2 Inc. All rights reserved.