|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.WebApplication
public class WebApplication
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
logger
|
protected static java.util.ResourceBundle |
rb
|
| Constructor Summary | |
|---|---|
WebApplication(WebContainer container,
WebModuleConfig config,
ApplicationConfigInfo appConfigInfo)
|
|
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getClassLoader()
Returns the class loader associated with this application |
WebBundleDescriptor |
getDescriptor()
Returns the deployment descriptor associated with this application |
java.util.Set<WebModule> |
getWebModules()
Gets a set of all the WebModule instances (one per virtual server deployment) of this WebApplication. |
boolean |
resume()
Resumes this application on all virtual servers. |
boolean |
start(ApplicationContext appContext)
|
boolean |
stop(ApplicationContext stopContext)
|
boolean |
suspend()
Suspends this application on all virtual servers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger logger
protected static final java.util.ResourceBundle rb
| Constructor Detail |
|---|
public WebApplication(WebContainer container,
WebModuleConfig config,
ApplicationConfigInfo appConfigInfo)
| Method Detail |
|---|
public boolean start(ApplicationContext appContext)
throws java.lang.Exception
start in interface ApplicationContainer<WebBundleDescriptor>java.lang.Exceptionpublic boolean stop(ApplicationContext stopContext)
stop in interface ApplicationContainer<WebBundleDescriptor>public boolean suspend()
suspend in interface ApplicationContainer<WebBundleDescriptor>
public boolean resume()
throws java.lang.Exception
resume in interface ApplicationContainer<WebBundleDescriptor>java.lang.Exceptionpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface ApplicationContainer<WebBundleDescriptor>public java.util.Set<WebModule> getWebModules()
For each WebModule in the returned set, the corresponding ServletContext may be obtained by calling WebModule#getServletContext
public WebBundleDescriptor getDescriptor()
getDescriptor in interface ApplicationContainer<WebBundleDescriptor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||