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
ModifierConstructorDescriptionprotected
ServiceBrokerWebMvcAutoConfiguration
(CatalogService catalogService, ServiceInstanceService serviceInstanceService, ServiceInstanceBindingService serviceInstanceBindingService, EventFlowRegistries eventFlowRegistries) Construct a newServiceBrokerWebMvcAutoConfiguration
. -
Method Summary
Modifier and TypeMethodDescriptionProvide aCatalogController
bean.Provide aRequestIdentityInterceptor
bean.Provide aServiceBrokerWebMvcExceptionHandler
bean.Provide aServiceInstanceBindingController
bean.Provide aServiceInstanceController
bean.
-
Constructor Details
-
ServiceBrokerWebMvcAutoConfiguration
protected ServiceBrokerWebMvcAutoConfiguration(CatalogService catalogService, @Autowired(required=false) ServiceInstanceService serviceInstanceService, ServiceInstanceBindingService serviceInstanceBindingService, EventFlowRegistries eventFlowRegistries) Construct a newServiceBrokerWebMvcAutoConfiguration
.- Parameters:
catalogService
- the CatalogService beanserviceInstanceService
- the ServiceInstanceService beanserviceInstanceBindingService
- the ServiceInstanceBindingService beaneventFlowRegistries
- the EventFlowRegistries bean
-
-
Method Details
-
catalogController
Provide aCatalogController
bean.- Returns:
- the bean
-
serviceInstanceController
Provide aServiceInstanceController
bean.- Returns:
- the bean
-
serviceInstanceBindingController
Provide aServiceInstanceBindingController
bean.- Returns:
- the bean
-
serviceBrokerExceptionHandler
Provide aServiceBrokerWebMvcExceptionHandler
bean.- Returns:
- the bean
-
requestIdentityInterceptor
Provide aRequestIdentityInterceptor
bean.- Returns:
- the bean
-