Class AbstractWebappDeployer

java.lang.Object
org.apache.axis2.deployment.AbstractDeployer
org.wso2.carbon.webapp.mgt.AbstractWebappDeployer
All Implemented Interfaces:
org.apache.axis2.deployment.Deployer

public abstract class AbstractWebappDeployer extends org.apache.axis2.deployment.AbstractDeployer
  • Field Details

  • Constructor Details

    • AbstractWebappDeployer

      public AbstractWebappDeployer()
  • Method Details

    • init

      public void init(org.apache.axis2.context.ConfigurationContext configCtx)
    • createTomcatGenericWebappDeployer

      protected abstract TomcatGenericWebappsDeployer createTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain)
    • getType

      protected abstract String getType()
    • deploy

      public void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException
      Specified by:
      deploy in interface org.apache.axis2.deployment.Deployer
      Overrides:
      deploy in class org.apache.axis2.deployment.AbstractDeployer
      Throws:
      org.apache.axis2.deployment.DeploymentException
    • undeploy

      public void undeploy(String fileName) throws org.apache.axis2.deployment.DeploymentException
      Specified by:
      undeploy in interface org.apache.axis2.deployment.Deployer
      Overrides:
      undeploy in class org.apache.axis2.deployment.AbstractDeployer
      Throws:
      org.apache.axis2.deployment.DeploymentException
    • cleanup

      public void cleanup() throws org.apache.axis2.deployment.DeploymentException
      Specified by:
      cleanup in interface org.apache.axis2.deployment.Deployer
      Overrides:
      cleanup in class org.apache.axis2.deployment.AbstractDeployer
      Throws:
      org.apache.axis2.deployment.DeploymentException
    • isExistingFaultyApp

      public boolean isExistingFaultyApp(String filePath)
    • handleRedeployment

      protected void handleRedeployment(File file) throws org.apache.axis2.deployment.DeploymentException
      Throws:
      org.apache.axis2.deployment.DeploymentException