public class SpringContinuationCometdServlet
extends org.mortbay.cometd.continuation.ContinuationCometdServlet
SpringContinuationBayeux
. This servlet overrides the
default intialization of the bayeux instance because the
SpringContinuationBayeux
fully initializes itself using
a Spring configuration.Constructor and Description |
---|
SpringContinuationCometdServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Gets bayeux instance configured by Spring
and sets
asyncDeliver from the servlet init parameters. |
doGet, doPost, newBayeux
browserId, getBayeux, getMessages, newBrowserId, service
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init() throws ServletException
Gets bayeux instance configured by Spring
and sets asyncDeliver
from the servlet init parameters.
Throws a ServletException
if it can't find
a unique Spring bean of the type AbstractBayeux
.
Overrides AbstractCometdServlet.init()
because
SpringContinuationBayeux
handles it's own initialization.
init
in class org.mortbay.cometd.AbstractCometdServlet
ServletException
Copyright © 2008-2014 Spring by Example. All Rights Reserved.