@Configuration public class ServiceBrokerAutoConfiguration extends Object
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.
ServiceBrokerProperties
Modifier and Type | Class and Description |
---|---|
protected static class |
ServiceBrokerAutoConfiguration.CatalogPropertiesMinimalConfiguration |
Constructor and Description |
---|
ServiceBrokerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.servicebroker.service.CatalogService |
beanCatalogService(org.springframework.cloud.servicebroker.model.catalog.Catalog catalog) |
org.springframework.cloud.servicebroker.service.events.EventFlowRegistries |
eventFlowRegistries() |
org.springframework.cloud.servicebroker.service.ServiceInstanceBindingService |
nonBindableServiceInstanceBindingService() |
@Bean @ConditionalOnMissingBean(value=org.springframework.cloud.servicebroker.service.CatalogService.class) public org.springframework.cloud.servicebroker.service.CatalogService beanCatalogService(@Autowired(required=false) org.springframework.cloud.servicebroker.model.catalog.Catalog catalog)
@Bean @ConditionalOnMissingBean(value=org.springframework.cloud.servicebroker.service.ServiceInstanceBindingService.class) public org.springframework.cloud.servicebroker.service.ServiceInstanceBindingService nonBindableServiceInstanceBindingService()
@Bean public org.springframework.cloud.servicebroker.service.events.EventFlowRegistries eventFlowRegistries()