public class CometdEndpoint
extends org.cometd.server.CometDServlet
Constructor and Description |
---|
CometdEndpoint(CatalogFramework framework,
FilterBuilder filterBuilder,
FilterAdapter filterAdapter,
PersistentStore persistentStore,
org.osgi.framework.BundleContext bundleContext,
org.osgi.service.event.EventAdmin eventAdmin,
ActionRegistry actionRegistry,
ExecutorService executorService)
Create a new CometdEndpoint
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.cometd.bayeux.server.BayeuxServer |
getBayeuxServer() |
SearchService |
getSearchService() |
void |
init(javax.servlet.ServletConfig config) |
void |
setCacheDisabled(Boolean cacheDisabled) |
void |
setNormalizationDisabled(Boolean normalizationDisabled) |
getBayeux, init, newBayeuxServer, service, serviceOptions
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public CometdEndpoint(CatalogFramework framework, FilterBuilder filterBuilder, FilterAdapter filterAdapter, PersistentStore persistentStore, org.osgi.framework.BundleContext bundleContext, org.osgi.service.event.EventAdmin eventAdmin, ActionRegistry actionRegistry, ExecutorService executorService)
framework
- - CatalogFramework to use for query requestsfilterBuilder
- - FilterBuilder for the SearchService to usepublic void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class org.cometd.server.CometDServlet
public org.cometd.bayeux.server.BayeuxServer getBayeuxServer()
public SearchService getSearchService()
public void setCacheDisabled(Boolean cacheDisabled)
public void setNormalizationDisabled(Boolean normalizationDisabled)
This work is licensed under a Creative Commons Attribution 4.0 International License.