@Configuration @AutoConfigureAfter(value={org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class,ServiceBrokerAutoConfiguration.class,EventFlowsAutoConfiguration.class}) @ConditionalOnWebApplication(type=SERVLET) public class ServiceBrokerWebMvcAutoConfiguration extends Object
Auto-configuration
for the service broker REST API endpoints.Modifier | Constructor and Description |
---|---|
protected |
ServiceBrokerWebMvcAutoConfiguration(org.springframework.cloud.servicebroker.service.CatalogService catalogService,
org.springframework.cloud.servicebroker.service.ServiceInstanceService serviceInstanceService,
org.springframework.cloud.servicebroker.service.ServiceInstanceBindingService serviceInstanceBindingService,
org.springframework.cloud.servicebroker.service.events.EventFlowRegistries eventFlowRegistries)
Construct a new
ServiceBrokerWebMvcAutoConfiguration |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.servicebroker.controller.CatalogController |
catalogController()
Provide a
CatalogController bean |
RequestIdentityInterceptor |
requestIdentityInterceptor()
Provide a
RequestIdentityInterceptor bean |
org.springframework.cloud.servicebroker.controller.ServiceBrokerWebMvcExceptionHandler |
serviceBrokerExceptionHandler()
Provide a
ServiceBrokerWebMvcExceptionHandler bean |
org.springframework.cloud.servicebroker.controller.ServiceInstanceBindingController |
serviceInstanceBindingController()
Provide a
ServiceInstanceBindingController bean |
org.springframework.cloud.servicebroker.controller.ServiceInstanceController |
serviceInstanceController()
Provide a
ServiceInstanceController bean |
protected ServiceBrokerWebMvcAutoConfiguration(org.springframework.cloud.servicebroker.service.CatalogService catalogService, @Autowired(required=false) org.springframework.cloud.servicebroker.service.ServiceInstanceService serviceInstanceService, org.springframework.cloud.servicebroker.service.ServiceInstanceBindingService serviceInstanceBindingService, org.springframework.cloud.servicebroker.service.events.EventFlowRegistries eventFlowRegistries)
ServiceBrokerWebMvcAutoConfiguration
catalogService
- the CatalogService beanserviceInstanceService
- the ServiceInstanceService beanserviceInstanceBindingService
- the ServiceInstanceBindingService beaneventFlowRegistries
- the EventFlowRegistries bean@Bean public org.springframework.cloud.servicebroker.controller.CatalogController catalogController()
CatalogController
bean@Bean public org.springframework.cloud.servicebroker.controller.ServiceInstanceController serviceInstanceController()
ServiceInstanceController
bean@Bean public org.springframework.cloud.servicebroker.controller.ServiceInstanceBindingController serviceInstanceBindingController()
ServiceInstanceBindingController
bean@Bean public org.springframework.cloud.servicebroker.controller.ServiceBrokerWebMvcExceptionHandler serviceBrokerExceptionHandler()
ServiceBrokerWebMvcExceptionHandler
bean@Bean public RequestIdentityInterceptor requestIdentityInterceptor()
RequestIdentityInterceptor
bean