public final class CometdServiceImpl extends javax.servlet.http.HttpServlet implements org.osgi.service.cm.ManagedService, org.osgi.util.tracker.ServiceTrackerCustomizer, CometdService
Constructor and Description |
---|
CometdServiceImpl(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
addingService(org.osgi.framework.ServiceReference reference) |
org.cometd.bayeux.server.BayeuxServer |
getBayeuxServer() |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service) |
void |
removedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service) |
void |
start() |
void |
stop() |
void |
updated(java.util.Dictionary props) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public CometdServiceImpl(org.osgi.framework.BundleContext context)
public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public void updated(java.util.Dictionary props)
updated
in interface org.osgi.service.cm.ManagedService
public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public org.cometd.bayeux.server.BayeuxServer getBayeuxServer()
getBayeuxServer
in interface CometdService
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.