Package 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.axis2.context.ConfigurationContextprotected Stringprotected final List<WebContextParameter> protected TomcatGenericWebappsDeployerprotected Map<String, WebApplicationsHolder> protected StringFields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()protected abstract TomcatGenericWebappsDeployercreateTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain) voiddeploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) protected abstract StringgetType()protected voidhandleRedeployment(File file) voidinit(org.apache.axis2.context.ConfigurationContext configCtx) booleanisExistingFaultyApp(String filePath) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.deployment.Deployer
setDirectory, setExtension
-
Field Details
-
webappsDir
-
extension
-
tomcatWebappDeployer
-
servletContextParameters
-
configContext
protected org.apache.axis2.context.ConfigurationContext configContext -
webApplicationsHolderMap
-
-
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
-
deploy
public void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException - Specified by:
deployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
deployin classorg.apache.axis2.deployment.AbstractDeployer- Throws:
org.apache.axis2.deployment.DeploymentException
-
undeploy
- Specified by:
undeployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
undeployin classorg.apache.axis2.deployment.AbstractDeployer- Throws:
org.apache.axis2.deployment.DeploymentException
-
cleanup
public void cleanup() throws org.apache.axis2.deployment.DeploymentException- Specified by:
cleanupin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
cleanupin classorg.apache.axis2.deployment.AbstractDeployer- Throws:
org.apache.axis2.deployment.DeploymentException
-
isExistingFaultyApp
-
handleRedeployment
- Throws:
org.apache.axis2.deployment.DeploymentException
-