Interface RegistryEvent<T>
- Type Parameters:
T- the service type
- All Superinterfaces:
AsyncEvent, Event
- All Known Subinterfaces:
RegistrationAddEvent<T>, RegistrationRemoveEvent<T>, ServiceChangeEvent<T>
An event related to a registration or unregistration which happened in a
Called to indicate some consequence, but not necessarily called when it happened.
That is, this event may or may not run in the same thread from which the happening itself was occurred.
It is guaranteed that
However, no such guarantee is made for events relating to different services.
Although
Registry. Called to indicate some consequence, but not necessarily called when it happened.
That is, this event may or may not run in the same thread from which the happening itself was occurred.
It is guaranteed that
RegistryEvents relating to a certain service will happen in an order consistent with
the state of the service; i.e., that they will be fired sequentially, but not necessarily on the same thread. However, no such guarantee is made for events relating to different services.
Although
RegistryEvents are indeed AsyncEvents, it is not recommended to use
async listeners with it, as doing so may lead to a surprising order of execution in later listeners.- Author:
- A248
-
Method Summary
-
Method Details
-
getService
-