Description
Since the Whiteboard#register() method supports passing properties, we should be able to track only services which are configured with specific values. In order to do this, let's add a new method to the Whiteboard interface:
<T> Tracker<T> track(Class<T> type, Map<String, String> filterProperties);
If a null value is passed for a given key map, only services without this property set will be returned. If a service is registered with a non-String property, the toString() method will be invoked first.
Attachments
Attachments
Issue Links
- blocks
-
OAK-5309 Supporting roles in RepositoryManager execution of maintenance tasks
- Closed