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 Details

  • 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:
      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