]
Gary Brown updated OVERLORD-137:
--------------------------------
Summary: Ensure cached OSGi services are removed when service bundle uninstalled
(was: Ensure cached services are removed when service bundle uninstalled)
Ensure cached OSGi services are removed when service bundle
uninstalled
-----------------------------------------------------------------------
Key: OVERLORD-137
URL:
https://issues.jboss.org/browse/OVERLORD-137
Project: Overlord
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: Overlord-Commons-2.0.8.Final
When services are retrieved using the getServices or getSingleService method on the
ServiceRegistry(Util), they are cached for more efficient subsequent access.
The ServiceListener mechanism enables a client to be notified when services implementing
a particular interface are registered or unregistered.
Either use a direct OSGi service listener, or the ServiceRegistry ServiceListener, to
determine when the cached services should be removed.