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)
Whiteboard
register
in interface Whiteboard
type
- 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 Whiteboard
type
- type of the services to track"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"