- All Known Implementing Classes:
- IIOServiceProvider
- public interface RegisterableService
An interface which service providers may optionally implement in
order to get notified when they are added or removed from a ServiceRegistry.
- Since:
- 1.4
onRegistration
public void onRegistration(ServiceRegistry registry,
java.lang.Class category)
- Informs this service provider that it has been registered in a
ServiceRegistry. If this provider gets registered as an
implementor for several service categories, its
onRegistration method will be called multiple times.
onDeregistration
public void onDeregistration(ServiceRegistry registry,
java.lang.Class category)
- Informs this service provider that it has been de-registered from
a ServiceRegistry. If this provider had been registered
as an implementor for several service categories, its
onDeregistration method will be called multiple
times.