IServiceListener
A service listener is registered at the service registry to receive service registration and de-registration information.
A service listener implements two methods. This method is called when a service is registered with the service registry.
void notifyServiceStarted(@NotNull IServiceRegistry aServiceRegistry,
@NotNull Class aClass,
@NotNull Object aInstance,
@Nullable CStringProperties aProperties) throws Exception;
The other method is called when a service is deregistered.
void notifyServiceStopped(@NotNull IServiceRegistry aServiceRegistry,
@NotNull Class aClass,
@NotNull Object aInstance,
@Nullable CStringProperties aProperties) throws Exception;