public class EventAdminHandler extends Object implements org.ops4j.pax.web.service.spi.ServletListener, org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.event.EventAdmin,org.osgi.service.event.EventAdmin>
ServletEvents and redirect them to the
EventAdmin service| Constructor and Description |
|---|
EventAdminHandler(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.service.event.EventAdmin |
addingService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference) |
void |
modifiedService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference,
org.osgi.service.event.EventAdmin service) |
void |
removedService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference,
org.osgi.service.event.EventAdmin service) |
void |
servletEvent(org.ops4j.pax.web.service.spi.ServletEvent servletEvent) |
public EventAdminHandler(org.osgi.framework.BundleContext bundleContext)
public void servletEvent(org.ops4j.pax.web.service.spi.ServletEvent servletEvent)
servletEvent in interface org.ops4j.pax.web.service.spi.ServletListenerpublic org.osgi.service.event.EventAdmin addingService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.event.EventAdmin,org.osgi.service.event.EventAdmin>public void modifiedService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference,
org.osgi.service.event.EventAdmin service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.event.EventAdmin,org.osgi.service.event.EventAdmin>public void removedService(org.osgi.framework.ServiceReference<org.osgi.service.event.EventAdmin> reference,
org.osgi.service.event.EventAdmin service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.event.EventAdmin,org.osgi.service.event.EventAdmin>Copyright © 2006–2015 OPS4J - Open Participation Software for Java. All rights reserved.