public interface ServiceManager
Modifier and Type | Method and Description |
---|---|
<T> T |
getService(String serviceName)
Gets a Service by serviceName.
|
ServiceInfo |
getServiceInfo(String serviceName)
Gets the ServiceInfo for a service by serviceName.
|
List<ServiceInfo> |
getServiceInfos(Class serviceClass)
Gets all the service info's for services that implement a given class/interface.
|
<S> List<S> |
getServices(Class<S> serviceClass)
Gets all services implementing a certain class/interface.
|
ServiceInfo getServiceInfo(String serviceName)
serviceName
- the name of the service.List<ServiceInfo> getServiceInfos(Class serviceClass)
serviceClass
- the class/interface the service should implement.<T> T getService(String serviceName)
T
- serviceName
- the name of the service.Copyright © 2019 Hazelcast, Inc.. All rights reserved.