|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.web.WebApplication
A WebApplication represents the information for a war deployment.
AbstractWebContainer
Constructor Summary | |
WebApplication()
Create an empty WebApplication instance |
|
WebApplication(String name,
URL url,
ClassLoader classLoader)
Create a WebApplication instance with with given name, url and class loader. |
|
WebApplication(WebMetaData metaData)
Create a WebApplication instance with with given web-app metadata. |
Method Summary | |
Object |
getAppData()
|
ClassLoader |
getClassLoader()
Get the class loader of this WebApplication. |
org.jboss.deployment.DeploymentInfo |
getDeploymentInfo()
|
WebMetaData |
getMetaData()
Getter for property metaData. |
String |
getName()
Get the name of this WebApplication. |
URL |
getURL()
Get the URL from which this WebApplication was deployed |
void |
setAppData(Object data)
|
void |
setClassLoader(ClassLoader classLoader)
Set the class loader of this WebApplication. |
void |
setDeploymentInfo(org.jboss.deployment.DeploymentInfo warInfo)
|
void |
setMetaData(WebMetaData metaData)
Setter for property metaData. |
void |
setName(String name)
Set the name of this WebApplication. |
void |
setURL(URL url)
Set the URL from which this WebApplication was deployed |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WebApplication()
public WebApplication(WebMetaData metaData)
metaData
- the web-app metadata containing the web.xml and
jboss-web.xml descriptor metadata.public WebApplication(String name, URL url, ClassLoader classLoader)
name
- name of this applicationurl
- url where this application was deployed fromclassLoader
- Class loader of this applicationMethod Detail |
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
classLoader
- The ClassLoader instance for the web applicationpublic String getName()
public void setName(String name)
name
- of the web applicationpublic URL getURL()
public void setURL(URL url)
url
- URL where this application was deployed frompublic WebMetaData getMetaData()
public void setMetaData(WebMetaData metaData)
metaData
- New value of property metaData.public Object getAppData()
public void setAppData(Object data)
public org.jboss.deployment.DeploymentInfo getDeploymentInfo()
public void setDeploymentInfo(org.jboss.deployment.DeploymentInfo warInfo)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |