Class DefaultAppDeployer
java.lang.Object
org.wso2.carbon.application.deployer.handler.DefaultAppDeployer
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployArtifacts(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 Details
-
AAR_TYPE
- See Also:
-
BUNDLE_TYPE
- See Also:
-
MEDIATOR_TYPE
- See Also:
-
-
Constructor Details
-
DefaultAppDeployer
public DefaultAppDeployer()
-
-
Method Details
-
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
-