org.wso2.carbon.webapp.mgt
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
| Fields inherited from class org.apache.axis2.deployment.AbstractDeployer |
deploymentFileDataMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.axis2.deployment.Deployer |
setDirectory, setExtension |
webappsDir
protected String webappsDir
extension
protected String extension
tomcatWebappDeployer
protected TomcatGenericWebappsDeployer tomcatWebappDeployer
servletContextParameters
protected final List<WebContextParameter> servletContextParameters
configContext
protected org.apache.axis2.context.ConfigurationContext configContext
axisConfig
protected org.apache.axis2.engine.AxisConfiguration axisConfig
webApplicationsHolderMap
protected Map<String,WebApplicationsHolder> webApplicationsHolderMap
AbstractWebappDeployer
public AbstractWebappDeployer()
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
Copyright © 2015 WSO2. All rights reserved.