![]()
|
JBoss API: Class WebApplication
org.jboss.web
|
Constructor Summary | |
WebApplication()
Create an empty WebApplication instance |
|
WebApplication(java.lang.String name,
java.net.URL url,
java.lang.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 | |
java.lang.Object |
getAppData()
|
java.lang.ClassLoader |
getClassLoader()
Get the class loader of this WebApplication. |
WebMetaData |
getMetaData()
Getter for property metaData. |
java.lang.String |
getName()
Get the name of this WebApplication. |
java.net.URL |
getURL()
Get the URL from which this WebApplication was deployed |
void |
setAppData(java.lang.Object data)
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Set the class loader of this WebApplication. |
void |
setMetaData(WebMetaData metaData)
Setter for property metaData. |
void |
setName(java.lang.String name)
Set the name of this WebApplication. |
void |
setURL(java.net.URL url)
Set the URL from which this WebApplication was deployed |
java.lang.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)
public WebApplication(java.lang.String name, java.net.URL url, java.lang.ClassLoader classLoader)
name,
- name of this applicationurl,
- url where this application was deployed fromclassLoader,
- Class loader of this applicationMethod Detail |
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader,
- The ClassLoader instance for the web applicationpublic java.lang.String getName()
public void setName(java.lang.String name)
String
- name of the web applicationpublic java.net.URL getURL()
public void setURL(java.net.URL url)
url,
- URL where this application was deployed frompublic java.lang.Object getAppData()
public void setAppData(java.lang.Object data)
public java.lang.String toString()
toString
in class java.lang.Object
public WebMetaData getMetaData()
public void setMetaData(WebMetaData metaData)
metaData
- New value of property metaData.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |