Bundles registering this service will be called during framework service find (get service references) operations.
| Modifier and Type | Method and Description |
|---|---|
| public void | find(BundleContext
The bundle context of the bundle performing the find
operation. context, String The class name of the services to find or name, String null to
find all services.The filter criteria of the services to find or filter, boolean null
for no filter criteria.true if the find operation is the result of a
call to
BundleContext#getAllServiceReferences(String, String)A collection of Service References to be returned as a
result of the find operation. The implementation of this method
may remove service references from the collection to prevent the
references from being returned to the bundle performing the find
operation. The collection supports all the optional
references)Collection operations except add and
addAll. Attempting to add to the collection will result in
an UnsupportedOperationException. The collection is not
synchronized.Find hook method. |
| find | back to summary |
|---|---|
| public void find(BundleContext context, String name, String filter, boolean allServices, Collection<ServiceReference<?>> references) Find hook method. This method is called during the service find operation
(for example,
| |