public interface ServiceCatalog
ServiceCatalog
provides access to the Service
instances and their consumption API.Modifier and Type | Method and Description |
---|---|
<S extends Service> |
getService(Class<S> serviceClass,
String name)
Returns the
Service with the given type and name |
Service |
getService(String name)
Returns the
Service with the specified name |
Stream<Service> |
getServices()
Returns all
Service instances known to the ServiceCatalog |
<S extends Service> |
getServices(Class<S> serviceClass)
Returns all
Service instances of a given type |
<S extends Service> S getService(Class<S> serviceClass, String name)
Service
with the given type and name<S extends Service> Stream<S> getServices(Class<S> serviceClass)
Service
instances of a given typeStream<Service> getServices()
Service
instances known to the ServiceCatalog
Service
instancesCopyright © 2021. All rights reserved.