Class ServiceBrokerAutoConfiguration
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.ServiceBrokerAutoConfiguration
Auto-configuration
for the service broker
implementation beans.
Provides a default CatalogService
bean if a Catalog
bean is provided. A
catalog may be defined in external configuration, or via a Spring bean.
Provides a NonBindableServiceInstanceBindingService
if a
ServiceInstanceBindingService
is not provided, indicating that the service
broker provides no bindable services.
- Author:
- Scott Frederick, Roy Clarkson
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Provides aCatalog
bean when catalog properties are available in external. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbeanCatalogService
(Catalog catalog) Conditionally provides aCatalogService
bean.Conditionally provides aServiceInstanceBindingService
bean.
-
Constructor Details
-
ServiceBrokerAutoConfiguration
public ServiceBrokerAutoConfiguration()
-
-
Method Details
-
beanCatalogService
@Bean @ConditionalOnMissingBean(CatalogService.class) public CatalogService beanCatalogService(@Autowired(required=false) Catalog catalog) Conditionally provides aCatalogService
bean.- Parameters:
catalog
- the catalog- Returns:
- the bean
-
nonBindableServiceInstanceBindingService
@Bean @ConditionalOnMissingBean(ServiceInstanceBindingService.class) public ServiceInstanceBindingService nonBindableServiceInstanceBindingService()Conditionally provides aServiceInstanceBindingService
bean.- Returns:
- the bean
-