Interface AppDeploymentHandler

  • All Known Implementing Classes:
    DefaultAppDeployer, RegistryResourceDeployer

    public interface AppDeploymentHandler
    This is the common interface for all App deployers. Different deployers deploy different artifacts..
    • Method Detail

      • deployArtifacts

        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.
        Parameters:
        carbonApp - - store info in this object after deploying
        axisConfig - - AxisConfiguration of the current tenant
        Throws:
        org.apache.axis2.deployment.DeploymentException
      • undeployArtifacts

        void undeployArtifacts​(CarbonApplication carbonApp,
                               org.apache.axis2.engine.AxisConfiguration axisConfig)
                        throws org.apache.axis2.deployment.DeploymentException
        Delete the artifacts which can be deleted through this deployer.
        Parameters:
        carbonApp - - all information about the existing artifacts are in this instance
        axisConfig - - AxisConfiguration of the current tenant
        Throws:
        org.apache.axis2.deployment.DeploymentException