public class WebModuleConfig extends Object
Constructor and Description |
---|
WebModuleConfig() |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getAppClassLoader() |
Application |
getBean()
Return the configuration information specified in server.xml.
|
String |
getContextPath()
Return the context path at which the web application is deployed.
|
DeploymentContext |
getDeploymentContext()
Gets the deployment context of this web application.
|
WebBundleDescriptorImpl |
getDescriptor()
Return the object representation of the deployment descriptor specified
for the web application.
|
File |
getLocation()
Return the directory in which the web application is deployed.
|
String |
getName()
Return the name of the web application (as specified in server.xml)
|
String |
getObjectType()
Return the objectType property
|
ClassLoader |
getParentLoader()
Return the parent classloader for the web application.
|
String |
getStubPath()
Gets the stub path of this web application.
|
String |
getVirtualServers()
Return the list of virtual servers to which the web application is
deployed.
|
String |
getWorkDir()
Gets the work directory for this web application.
|
boolean |
isSystemObjectType() |
void |
setAppClassLoader(ClassLoader _appClassLoader) |
void |
setBean(Application wmBean)
Set the elements of information specified in the web-module element
in server.xml.
|
void |
setDeploymentContext(DeploymentContext deploymentContext)
Sets the deployment context for this web application.
|
void |
setDescriptor(WebBundleDescriptorImpl wbd)
Set the deployment descriptor object describing the contents of the
web application.
|
void |
setLocation(File sourceDir)
Set the directory in which the web application is deployed.
|
void |
setObjectType(String objectType)
Set the objectType property.
|
void |
setParentLoader(ClassLoader parentLoader)
Set the parent classloader for the web application.
|
void |
setStubBaseDir(String stubBaseDir)
Sets the base directory of this web application's stub path.
|
void |
setVirtualServers(String virtualServers)
Return the list of virtual servers to which the web application is
deployed.
|
void |
setWorkDir(String workDir)
Sets the work directory for this web application.
|
void |
setWorkDirBase(String baseDir)
Sets the parent of the work directory for this web application.
|
public ClassLoader getAppClassLoader()
public void setAppClassLoader(ClassLoader _appClassLoader)
public void setBean(Application wmBean)
public Application getBean()
public String getName()
public String getContextPath()
public void setLocation(File sourceDir)
public File getLocation()
public String getVirtualServers()
public void setVirtualServers(String virtualServers)
public void setParentLoader(ClassLoader parentLoader)
public ClassLoader getParentLoader()
public void setDeploymentContext(DeploymentContext deploymentContext)
public DeploymentContext getDeploymentContext()
public void setWorkDir(String workDir)
public String getWorkDir()
public String getStubPath()
public void setWorkDirBase(String baseDir)
baseDir
- The new base directory under which the actual work
directory will be createdpublic void setStubBaseDir(String stubBaseDir)
stubBaseDir
- Stub pathpublic WebBundleDescriptorImpl getDescriptor()
public void setDescriptor(WebBundleDescriptorImpl wbd)
wbd
- The deployment descriptor objectpublic String getObjectType()
public void setObjectType(String objectType)
objectType
- objectType propertypublic boolean isSystemObjectType()
getObjectType()
starts with system-
Copyright © 2020. All rights reserved.