Class BeanCatalogService
java.lang.Object
org.springframework.cloud.servicebroker.service.BeanCatalogService
- All Implemented Interfaces:
CatalogService
An implementation of the
CatalogService that allows the Catalog to be specified as a Spring Bean.- Author:
- [email protected]
-
Constructor Summary
ConstructorsConstructorDescriptionBeanCatalogService(Catalog catalog) Construct a service with the providedbean. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Catalog>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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cloud.servicebroker.service.CatalogService
getResponseEntityCatalog
-
Constructor Details
-
Method Details
-
getCatalog
Description copied from interface:CatalogServiceReturn the catalog of services provided by the service broker.- Specified by:
getCatalogin interfaceCatalogService- Returns:
- the catalog of services
-
getServiceDefinition
Description copied from interface:CatalogServiceGet a service definition from the catalog by ID.- Specified by:
getServiceDefinitionin interfaceCatalogService- Parameters:
serviceId- The ID of the service definition in the catalog- Returns:
- the service definition, or null if it doesn't exist
-