public class OsgiWhiteboard extends Object implements Whiteboard
| Constructor and Description |
|---|
OsgiWhiteboard(org.osgi.framework.BundleContext context) |
public <T> Registration register(Class<T> type, T service, Map<?,?> properties)
Whiteboardregister in interface Whiteboardtype - type of the serviceservice - service instanceproperties - service propertiespublic <T> Tracker<T> track(Class<T> type)
Tracker.getServices() calls through
the use of a pre-compiled list of services that's atomically updated
whenever services are added, modified or removed.track in interface Whiteboardtype - type of the services to track"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"