Package org.wso2.carbon.webapp.deployer
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, webappsDirFields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployercreateTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain) voiddeploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) protected StringgetType()voidinit(org.apache.axis2.context.ConfigurationContext configCtx) voidsetDirectory(String repoDir) voidsetExtension(String extension) Methods inherited from class org.wso2.carbon.webapp.mgt.AbstractWebappDeployer
cleanup, handleRedeployment, isExistingFaultyApp, undeploy
-
Constructor Details
-
WebappDeployer
public WebappDeployer()
-
-
Method Details
-
init
public void init(org.apache.axis2.context.ConfigurationContext configCtx) - Specified by:
initin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
initin classorg.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:
deployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
deployin classorg.wso2.carbon.webapp.mgt.AbstractWebappDeployer- Throws:
org.apache.axis2.deployment.DeploymentException
-
setDirectory
-
setExtension
-
createTomcatGenericWebappDeployer
protected org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer createTomcatGenericWebappDeployer(String webContextPrefix, int tenantId, String tenantDomain) - Specified by:
createTomcatGenericWebappDeployerin classorg.wso2.carbon.webapp.mgt.AbstractWebappDeployer
-
getType
- Specified by:
getTypein classorg.wso2.carbon.webapp.mgt.AbstractWebappDeployer
-