ServiceListener
Syntax
public interface ServiceListener extends java.util.EventListener
All Superinterfaces: java.util.EventListener
Description
ServiceEvent listener. ServiceListener is an interface that may be implemented by a bundle programmer. A ServiceListener is registered with the framework using a BundleContext.addServiceListener(ServiceListener, String) method. ServiceListeners are called with a ServiceEvent when a service has been registered or modified, or when a service is in the process of unregistering.
ServiceEvent delivery to ServiceListeners are filtered by the filter specified when the listener was registered. If the Java runtime environment supports permissions, then additional filtering is done. ServiceEvent s are only delivered ...
Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.