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()
CatalogService
getCatalog
in interface CatalogService
public reactor.core.publisher.Mono<ServiceDefinition> getServiceDefinition(String serviceId)
CatalogService
getServiceDefinition
in interface CatalogService
serviceId
- The ID of the service definition in the catalog