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:
- S Greenberg, Scott Frederick
-
Constructor Summary
ConstructorDescriptionBeanCatalogService
(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, wait
Methods inherited from interface org.springframework.cloud.servicebroker.service.CatalogService
getResponseEntityCatalog
-
Constructor Details
-
Method Details
-
getCatalog
Description copied from interface:CatalogService
Return the catalog of services provided by the service broker.- Specified by:
getCatalog
in interfaceCatalogService
- Returns:
- the catalog of services
-
getServiceDefinition
Description copied from interface:CatalogService
Get a service definition from the catalog by ID.- Specified by:
getServiceDefinition
in interfaceCatalogService
- Parameters:
serviceId
- the ID of the service definition in the catalog- Returns:
- the service definition, or null if it doesn't exist
-