public class BeanCatalogService extends Object implements CatalogService
CatalogService that allows the Catalog to be specified as a Spring Bean.| Constructor and Description |
|---|
BeanCatalogService(Catalog catalog)
Construct a service with the provided
bean. |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Catalog> |
getCatalog()
Return the catalog of services provided by the service broker.
|
reactor.core.publisher.Mono<ServiceDefinition> |
getServiceDefinition(String serviceId)
Get a service definition from the catalog by ID.
|
public reactor.core.publisher.Mono<Catalog> getCatalog()
CatalogServicegetCatalog in interface CatalogServicepublic reactor.core.publisher.Mono<ServiceDefinition> getServiceDefinition(String serviceId)
CatalogServicegetServiceDefinition in interface CatalogServiceserviceId - The ID of the service definition in the catalog