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;
Related Pages
Services
The NYSSR Services documentation describes the framework's core architectural principle of managing interfaces and class instances via a local Service Registry, prioritizing code hiding over Dependenc
IServiceStarter
The IServiceStarter interface is the entry point for a Java package in NYSSR, defining dependencies and controlling the package's lifecycle within the Service Registry. It dictates when a package is s
IService
The IService helper interface is optional in NYSSR, designed to simplify the lifecycle management of services. It defines 'activate()' for service initialization and registration, and 'deactivate()' f
List of wellknown services
This documentation provides a list of well-known, core services registered in the NYSSR Service Registry. It includes essential components like IMessageSender, IKernelConfiguration, INameDb for loggin
IServiceDependencyList
The IServiceDependencyList is a helper interface used by the Service Registry to collect and define service dependencies from Service Starters. It allows specifying required services either by class (
INanoServiceRegistry
The INanoServiceRegistry manages local Nano Services within an NYSSR Namespace, facilitating their registration, removal, and discovery by Service ID (SID). It implements the Observer Pattern to notif