org.wso2.carbon.application.deployer.handler
Class DefaultAppDeployer
java.lang.Object
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.
|
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 |
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
DefaultAppDeployer
public DefaultAppDeployer()
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 instanceaxisConfig - - 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 instanceaxisConfig - - AxisConfiguration of the current tenant
Copyright © 2014 WSO2 Inc. All rights reserved.