public abstract class AbstractWebappDeployer
extends org.apache.axis2.deployment.AbstractDeployer
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.axis2.engine.AxisConfiguration |
axisConfig |
protected org.apache.axis2.context.ConfigurationContext |
configContext |
protected String |
extension |
protected List<WebContextParameter> |
servletContextParameters |
protected TomcatGenericWebappsDeployer |
tomcatWebappDeployer |
protected Map<String,WebApplicationsHolder> |
webApplicationsHolderMap |
protected String |
webappsDir |
| Constructor and Description |
|---|
AbstractWebappDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
protected abstract TomcatGenericWebappsDeployer |
createTomcatGenericWebappDeployer(String webContextPrefix,
int tenantId,
String tenantDomain) |
void |
deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) |
protected abstract String |
getType() |
protected void |
handleRedeployment(File file) |
void |
init(org.apache.axis2.context.ConfigurationContext configCtx) |
boolean |
isExistingFaultyApp(String filePath) |
void |
undeploy(String fileName) |
protected String webappsDir
protected String extension
protected TomcatGenericWebappsDeployer tomcatWebappDeployer
protected final List<WebContextParameter> servletContextParameters
protected org.apache.axis2.context.ConfigurationContext configContext
protected org.apache.axis2.engine.AxisConfiguration axisConfig
protected Map<String,WebApplicationsHolder> webApplicationsHolderMap
public void init(org.apache.axis2.context.ConfigurationContext configCtx)
protected abstract TomcatGenericWebappsDeployer createTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain)
protected abstract String getType()
public void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)
throws org.apache.axis2.deployment.DeploymentException
deploy in interface org.apache.axis2.deployment.Deployerdeploy in class org.apache.axis2.deployment.AbstractDeployerorg.apache.axis2.deployment.DeploymentExceptionpublic void undeploy(String fileName) throws org.apache.axis2.deployment.DeploymentException
undeploy in interface org.apache.axis2.deployment.Deployerundeploy in class org.apache.axis2.deployment.AbstractDeployerorg.apache.axis2.deployment.DeploymentExceptionpublic void cleanup()
throws org.apache.axis2.deployment.DeploymentException
cleanup in interface org.apache.axis2.deployment.Deployercleanup in class org.apache.axis2.deployment.AbstractDeployerorg.apache.axis2.deployment.DeploymentExceptionpublic boolean isExistingFaultyApp(String filePath)
protected void handleRedeployment(File file) throws org.apache.axis2.deployment.DeploymentException
org.apache.axis2.deployment.DeploymentExceptionCopyright © 2019 WSO2. All rights reserved.