public interface ClientServiceRegistryAgent
registerClientService(Class, Object)
will be reachable via
ServicesBroker.getService(Class)
as long as the connection of the belonging FirstSpirit
will be alive and if they won't be explicitly unregistered
Modifier and Type | Field and Description |
---|---|
static SpecialistType<ClientServiceRegistryAgent> |
TYPE
An agent providing means to register client local service instances.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
registerClientService(Class<T> clientServiceType,
T clientService)
Register a client service to be reachable via
ServicesBroker.getService(Class) |
<T> void |
unregisterClientService(T clientService)
Unregister the given client service.
|
static final SpecialistType<ClientServiceRegistryAgent> TYPE
SpecialistsBroker
.<T> void registerClientService(Class<T> clientServiceType, T clientService)
ServicesBroker.getService(Class)
clientServiceType
- the class specifying the type of the serviceclientService
- the instance of the client service to be registered<T> void unregisterClientService(T clientService)
clientService
- the client service to unregisterCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500