Class ServiceBrokerWebMvcAutoConfiguration
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.servlet.ServiceBrokerWebMvcAutoConfiguration
@Configuration
@AutoConfigureAfter({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.- Author:
- Benjamin Ihrig, Roy Clarkson
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServiceBrokerWebMvcAutoConfiguration(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 newServiceBrokerWebMvcAutoConfiguration -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cloud.servicebroker.controller.CatalogControllerProvide aCatalogControllerbeanProvide aRequestIdentityInterceptorbeanorg.springframework.cloud.servicebroker.controller.ServiceBrokerWebMvcExceptionHandlerProvide aServiceBrokerWebMvcExceptionHandlerbeanorg.springframework.cloud.servicebroker.controller.ServiceInstanceBindingControllerProvide aServiceInstanceBindingControllerbeanorg.springframework.cloud.servicebroker.controller.ServiceInstanceControllerProvide aServiceInstanceControllerbean
-
Constructor Details
-
ServiceBrokerWebMvcAutoConfiguration
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) Construct a newServiceBrokerWebMvcAutoConfiguration- Parameters:
catalogService- the CatalogService beanserviceInstanceService- the ServiceInstanceService beanserviceInstanceBindingService- the ServiceInstanceBindingService beaneventFlowRegistries- the EventFlowRegistries bean
-
-
Method Details
-
catalogController
@Bean public org.springframework.cloud.servicebroker.controller.CatalogController catalogController()Provide aCatalogControllerbean- Returns:
- the bean
-
serviceInstanceController
@Bean public org.springframework.cloud.servicebroker.controller.ServiceInstanceController serviceInstanceController()Provide aServiceInstanceControllerbean- Returns:
- the bean
-
serviceInstanceBindingController
@Bean public org.springframework.cloud.servicebroker.controller.ServiceInstanceBindingController serviceInstanceBindingController()Provide aServiceInstanceBindingControllerbean- Returns:
- the bean
-
serviceBrokerExceptionHandler
@Bean public org.springframework.cloud.servicebroker.controller.ServiceBrokerWebMvcExceptionHandler serviceBrokerExceptionHandler()Provide aServiceBrokerWebMvcExceptionHandlerbean- Returns:
- the bean
-
requestIdentityInterceptor
Provide aRequestIdentityInterceptorbean- Returns:
- the bean
-