|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.
| Method Summary | |
|---|---|
void |
onDeregistration(ServiceRegistry registry,
Class<?> category)
Informs this service provider that it has been de-registered from a ServiceRegistry. |
void |
onRegistration(ServiceRegistry registry,
Class<?> category)
Informs this service provider that it has been registered in a ServiceRegistry. |
| Method Detail |
|---|
void onRegistration(ServiceRegistry registry,
Class<?> category)
ServiceRegistry. If this provider gets registered as an
implementor for several service categories, its
onRegistration method will be called multiple times.
registry - the registry to which this service provider has
been added.category - the service category for which this provider has
been registered as an implementor.
void onDeregistration(ServiceRegistry registry,
Class<?> category)
ServiceRegistry. If this provider had been registered
as an implementor for several service categories, its
onDeregistration method will be called multiple
times.
registry - the registry from which this service provider has
been removed.category - the service category for which this provider has
been registered as an implementor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||