org.glassfish.extras.grizzly
Class GrizzlyApp

java.lang.Object
  extended by org.glassfish.extras.grizzly.GrizzlyApp
All Implemented Interfaces:
ApplicationContainer

public class GrizzlyApp
extends Object
implements ApplicationContainer

Deployed grizzly application.

Author:
Jerome Dochez

Nested Class Summary
static class GrizzlyApp.Adapter
           
 
Constructor Summary
GrizzlyApp(Collection<GrizzlyApp.Adapter> adapters, RequestDispatcher dispatcher, ClassLoader cl)
           
 
Method Summary
 ClassLoader getClassLoader()
           
 Object getDescriptor()
           
 boolean resume()
           
 boolean start(ApplicationContext startupContext)
           
 boolean stop(ApplicationContext stopContext)
           
 boolean suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlyApp

public GrizzlyApp(Collection<GrizzlyApp.Adapter> adapters,
                  RequestDispatcher dispatcher,
                  ClassLoader cl)
Method Detail

getDescriptor

public Object getDescriptor()
Specified by:
getDescriptor in interface ApplicationContainer

start

public boolean start(ApplicationContext startupContext)
              throws Exception
Specified by:
start in interface ApplicationContainer
Throws:
Exception

stop

public boolean stop(ApplicationContext stopContext)
Specified by:
stop in interface ApplicationContainer

suspend

public boolean suspend()
Specified by:
suspend in interface ApplicationContainer

resume

public boolean resume()
               throws Exception
Specified by:
resume in interface ApplicationContainer
Throws:
Exception

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface ApplicationContainer


Copyright © 2012 GlassFish Community. All Rights Reserved.