Class WebappDeployer

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

public class WebappDeployer extends org.wso2.carbon.webapp.mgt.AbstractWebappDeployer
Axis2 deployer for deploying Web applications
  • Field Summary

    Fields inherited from class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer

    configContext, extension, servletContextParameters, tomcatWebappDeployer, webApplicationsHolderMap, webappsDir

    Fields inherited from class org.apache.axis2.deployment.AbstractDeployer

    deploymentFileDataMap
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer
    createTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain)
     
    void
    deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)
     
    protected String
     
    void
    init(org.apache.axis2.context.ConfigurationContext configCtx)
     
    void
     
    void
    setExtension(String extension)
     

    Methods inherited from class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer

    cleanup, handleRedeployment, isExistingFaultyApp, undeploy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebappDeployer

      public WebappDeployer()
  • Method Details

    • init

      public void init(org.apache.axis2.context.ConfigurationContext configCtx)
      Specified by:
      init in interface org.apache.axis2.deployment.Deployer
      Overrides:
      init in class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer
    • 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.wso2.carbon.webapp.mgt.AbstractWebappDeployer
      Throws:
      org.apache.axis2.deployment.DeploymentException
    • setDirectory

      public void setDirectory(String repoDir)
    • setExtension

      public void setExtension(String extension)
    • createTomcatGenericWebappDeployer

      protected org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer createTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain)
      Specified by:
      createTomcatGenericWebappDeployer in class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer
    • getType

      protected String getType()
      Specified by:
      getType in class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer