org.atmosphere.cpr
Class MeteorServlet

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.cpr.MeteorServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig, org.apache.catalina.CometProcessor, org.jboss.servlet.http.HttpEventServlet

public class MeteorServlet
extends AtmosphereServlet

Simple Servlet to use when Atmosphere Meteor are used. This Servlet will look for a Servlet init-param named org.atmosphere.servlet or org.atmosphere.filter and will delegate request processing to them. When used, this Servlet will ignore any value defined in META-INF/atmosphere.xml as internally it will create a ReflectorServletProcessor

Author:
Jean-Francois Arcand
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
 
Fields inherited from class org.atmosphere.cpr.AtmosphereServlet
atmosphereHandlers, BROADCASTER_TYPE, cometSupport, config, DISABLE_ONSTATE_EVENT, GAE_BROADCASTER, JERSEY_BROADCASTER, JERSEY_CONTAINER, logger, PRIMEFACES_SERVLET, PROPERTY_BLOCKING_COMETSUPPORT, PROPERTY_COMET_SUPPORT, PROPERTY_NATIVE_COMETSUPPORT, PROPERTY_SERVLET_MAPPING, PROPERTY_USE_STREAM
 
Constructor Summary
MeteorServlet()
           
 
Method Summary
protected  void loadConfiguration(ServletConfig sc)
          Initialize a confugured instance of ReflectorServletProcessor and follow the normal AtmosphereServlet processing.
 
Methods inherited from class org.atmosphere.cpr.AtmosphereServlet
addAtmosphereHandler, addInitParameter, autoDetectAtmosphereHandlers, autoDetectContainer, createCometSupportResolver, destroy, detectJerseyRuntime, doCometSupport, doDelete, doGet, doHead, doInitParams, doOptions, doPost, doPut, doRequest, doResponse, doTimeout, doTrace, event, event, getCometSupport, getDefaultBroadcasterClassName, init, isUseStreamForFlushingComments, loadAtmosphereDotXml, 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
 

Constructor Detail

MeteorServlet

public MeteorServlet()
Method Detail

loadConfiguration

protected void loadConfiguration(ServletConfig sc)
                          throws ServletException
Initialize a confugured instance of ReflectorServletProcessor and follow the normal AtmosphereServlet processing.

Overrides:
loadConfiguration in class AtmosphereServlet
Parameters:
sc - the ServletContext
Throws:
ServletException


Copyright © 2010 SUN Microsystems. All Rights Reserved.