org.atmosphere.guice
Class AtmosphereGuiceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.atmosphere.cpr.AtmosphereServlet
              extended by org.atmosphere.guice.AtmosphereGuiceServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AtmosphereGuiceServlet
extends org.atmosphere.cpr.AtmosphereServlet

Google Guice Integration. Only difference with the AtmosphereServlet is this class is annotated with @Singleton annotation.

Author:
Jeanfrancois Arcand
See Also:
Serialized Form

Nested Class Summary
 class AtmosphereGuiceServlet.GuiceAtmosphereFramework
           
 
Field Summary
static String PROPERTIES
           
 
Fields inherited from class org.atmosphere.cpr.AtmosphereServlet
initializer, logger
 
Constructor Summary
AtmosphereGuiceServlet()
           
 
Method Summary
protected  org.atmosphere.cpr.AtmosphereServlet configureFramework(javax.servlet.ServletConfig sc, boolean init)
           
 
Methods inherited from class org.atmosphere.cpr.AtmosphereServlet
configureFramework, destroy, doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, framework, init, newAtmosphereFramework
 
Methods inherited from class javax.servlet.http.HttpServlet
getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTIES

public static final String PROPERTIES
Constructor Detail

AtmosphereGuiceServlet

public AtmosphereGuiceServlet()
Method Detail

configureFramework

protected org.atmosphere.cpr.AtmosphereServlet configureFramework(javax.servlet.ServletConfig sc,
                                                                  boolean init)
                                                           throws javax.servlet.ServletException
Overrides:
configureFramework in class org.atmosphere.cpr.AtmosphereServlet
Throws:
javax.servlet.ServletException


Copyright © 2015. All Rights Reserved.