public class GrizzlyApp extends Object implements ApplicationContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
GrizzlyApp.Adapter |
| Constructor and Description |
|---|
GrizzlyApp(Collection<GrizzlyApp.Adapter> adapters,
RequestDispatcher dispatcher,
ClassLoader cl) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
Object |
getDescriptor()
Returns the deployment descriptor associated with this application
|
boolean |
resume()
Resumes this application container.
|
boolean |
start(ApplicationContext startupContext)
Starts an application container.
|
boolean |
stop(ApplicationContext stopContext)
Stop the application container
|
boolean |
suspend()
Suspends this application container.
|
public GrizzlyApp(Collection<GrizzlyApp.Adapter> adapters, RequestDispatcher dispatcher, ClassLoader cl)
public Object getDescriptor()
ApplicationContainergetDescriptor in interface ApplicationContainerpublic boolean start(ApplicationContext startupContext) throws Exception
ApplicationContainerstart in interface ApplicationContainerstartupContext - the start up contextException - if this application container could not be startedpublic boolean stop(ApplicationContext stopContext)
ApplicationContainerstop in interface ApplicationContainerpublic boolean suspend()
ApplicationContainersuspend in interface ApplicationContainerpublic boolean resume()
throws Exception
ApplicationContainerresume in interface ApplicationContainerException - if this application container could not be
resumedpublic ClassLoader getClassLoader()
ApplicationContainergetClassLoader in interface ApplicationContainerCopyright © 2017. All rights reserved.