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 and libs.
-
-
Field Summary
Fields Modifier and Type Field Description static StringAAR_TYPEstatic StringBUNDLE_TYPEstatic StringMEDIATOR_TYPE
-
Constructor Summary
Constructors Constructor Description DefaultAppDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)Deploy the artifacts which can be deployed through this deployer (Axis2 services, JAXWS services ..).voidundeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig)Undeploys AAR, Data services, libs etc.
-
-
-
Field Detail
-
AAR_TYPE
public static final String AAR_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
-
-
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:
deployArtifactsin interfaceAppDeploymentHandler- 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:
undeployArtifactsin interfaceAppDeploymentHandler- Parameters:
carbonApp- - all information about the existing artifacts are in this instanceaxisConfig- - AxisConfiguration of the current tenant
-
-