org.atmosphere.guice
Class AtmosphereGuiceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by weblogic.servlet.http.AbstractAsyncServlet
              extended by org.atmosphere.cpr.AtmosphereServlet
                  extended by org.atmosphere.guice.AtmosphereGuiceServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.catalina.CometProcessor, org.jboss.servlet.http.HttpEventServlet

public class AtmosphereGuiceServlet
extends AtmosphereServlet

Google Guice Integration

Author:
Jeanfrancois Arcand, Richard Wallace
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.atmosphere.cpr.AtmosphereServlet
AtmosphereServlet.Action, AtmosphereServlet.AtmosphereConfig, AtmosphereServlet.AtmosphereHandlerWrapper
 
Field Summary
static String JERSEY_PROPERTIES
           
 
Fields inherited from class org.atmosphere.cpr.AtmosphereServlet
atmosphereHandlers, BROADCASTER_CLASS, broadcasterClassName, cometSupport, config, DISABLE_ONSTATE_EVENT, GAE_BROADCASTER, initParams, isBroadcasterSpecified, isCometSupportConfigured, isCometSupportSpecified, isFilter, JERSEY_BROADCASTER, JERSEY_CONTAINER, logger, possibleAtmosphereHandlersCandidate, PRIMEFACES_SERVLET, PROPERTY_BLOCKING_COMETSUPPORT, PROPERTY_COMET_SUPPORT, PROPERTY_NATIVE_COMETSUPPORT, PROPERTY_SERVLET_MAPPING, PROPERTY_USE_STREAM, useBlockingImplementation, useNativeImplementation, useStreamForFlushingComments, WEB_INF
 
Constructor Summary
AtmosphereGuiceServlet()
           
 
Method Summary
protected  boolean detectJerseyRuntime(javax.servlet.ServletConfig sc)
          Auto-detect Jersey when no atmosphere.xml file are specified.
 
Methods inherited from class org.atmosphere.cpr.AtmosphereServlet
addAtmosphereHandler, addInitParameter, autoDetectAtmosphereHandlers, autoDetectContainer, createCometSupportResolver, destroy, doCometSupport, doDelete, doGet, doHead, doInitParams, doOptions, doPost, doPut, doRequest, doResponse, doTimeout, doTrace, event, event, getCometSupport, getDefaultBroadcasterClassName, getFiles, init, isUseStreamForFlushingComments, loadAtmosphereDotXml, loadConfiguration, newAtmosphereConfig, setCometSupport, setDefaultBroadcasterClassName, setUseStreamForFlushingComments
 
Methods inherited from class weblogic.servlet.http.AbstractAsyncServlet
notify
 
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
 
Methods inherited from interface javax.servlet.Servlet
getServletConfig, getServletInfo, service
 

Field Detail

JERSEY_PROPERTIES

public static final String JERSEY_PROPERTIES
Constructor Detail

AtmosphereGuiceServlet

public AtmosphereGuiceServlet()
Method Detail

detectJerseyRuntime

protected boolean detectJerseyRuntime(javax.servlet.ServletConfig sc)
Auto-detect Jersey when no atmosphere.xml file are specified.

Overrides:
detectJerseyRuntime in class AtmosphereServlet
Parameters:
sc - ServletConfig
Returns:
true if Jersey classes are detected


Copyright © 2010 SUN Microsystems. All Rights Reserved.