Class EventFlowsAutoConfiguration
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.EventFlowsAutoConfiguration
Auto-configuration
for the event flow implementation
beans.- Author:
- Roy Clarkson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperationBindingRegistry
(List<AsyncOperationServiceInstanceBindingInitializationFlow> initializationFlows, List<AsyncOperationServiceInstanceBindingCompletionFlow> completionFlows, List<AsyncOperationServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newAsyncOperationServiceInstanceBindingEventFlowRegistry
bean.asyncOperationRegistry
(List<AsyncOperationServiceInstanceInitializationFlow> initializationFlows, List<AsyncOperationServiceInstanceCompletionFlow> completionFlows, List<AsyncOperationServiceInstanceErrorFlow> errorFlows) Conditionally create a newAsyncOperationServiceInstanceEventFlowRegistry
bean.createInstanceBindingRegistry
(List<CreateServiceInstanceBindingInitializationFlow> initializationFlows, List<CreateServiceInstanceBindingCompletionFlow> completionFlows, List<CreateServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newCreateServiceInstanceBindingEventFlowRegistry
bean.createInstanceRegistry
(List<CreateServiceInstanceInitializationFlow> initializationFlows, List<CreateServiceInstanceCompletionFlow> completionFlows, List<CreateServiceInstanceErrorFlow> errorFlows) Conditionally create a newCreateServiceInstanceEventFlowRegistry
bean.deleteInstanceBindingRegistry
(List<DeleteServiceInstanceBindingInitializationFlow> initializationFlows, List<DeleteServiceInstanceBindingCompletionFlow> completionFlows, List<DeleteServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newDeleteServiceInstanceBindingEventFlowRegistry
bean.deleteInstanceRegistry
(List<DeleteServiceInstanceInitializationFlow> initializationFlows, List<DeleteServiceInstanceCompletionFlow> completionFlows, List<DeleteServiceInstanceErrorFlow> errorFlows) Conditionally create a newDeleteServiceInstanceEventFlowRegistry
bean.eventFlowRegistries
(CreateServiceInstanceEventFlowRegistry createInstanceRegistry, UpdateServiceInstanceEventFlowRegistry updateInstanceRegistry, DeleteServiceInstanceEventFlowRegistry deleteInstanceRegistry, AsyncOperationServiceInstanceEventFlowRegistry asyncOperationRegistry, CreateServiceInstanceBindingEventFlowRegistry createInstanceBindingRegistry, DeleteServiceInstanceBindingEventFlowRegistry deleteInstanceBindingRegistry, AsyncOperationServiceInstanceBindingEventFlowRegistry asyncOperationBindingRegistry) Conditionally create a newEventFlowRegistries
bean.updateInstanceRegistry
(List<UpdateServiceInstanceInitializationFlow> initializationFlows, List<UpdateServiceInstanceCompletionFlow> completionFlows, List<UpdateServiceInstanceErrorFlow> errorFlows) Conditionally create a newUpdateServiceInstanceEventFlowRegistry
bean.
-
Constructor Details
-
EventFlowsAutoConfiguration
public EventFlowsAutoConfiguration()
-
-
Method Details
-
createInstanceRegistry
@Bean @ConditionalOnMissingBean(CreateServiceInstanceEventFlowRegistry.class) public CreateServiceInstanceEventFlowRegistry createInstanceRegistry(@Autowired(required=false) List<CreateServiceInstanceInitializationFlow> initializationFlows, @Autowired(required=false) List<CreateServiceInstanceCompletionFlow> completionFlows, @Autowired(required=false) List<CreateServiceInstanceErrorFlow> errorFlows) Conditionally create a newCreateServiceInstanceEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
deleteInstanceRegistry
@Bean @ConditionalOnMissingBean(DeleteServiceInstanceEventFlowRegistry.class) public DeleteServiceInstanceEventFlowRegistry deleteInstanceRegistry(@Autowired(required=false) List<DeleteServiceInstanceInitializationFlow> initializationFlows, @Autowired(required=false) List<DeleteServiceInstanceCompletionFlow> completionFlows, @Autowired(required=false) List<DeleteServiceInstanceErrorFlow> errorFlows) Conditionally create a newDeleteServiceInstanceEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
updateInstanceRegistry
@Bean @ConditionalOnMissingBean(UpdateServiceInstanceEventFlowRegistry.class) public UpdateServiceInstanceEventFlowRegistry updateInstanceRegistry(@Autowired(required=false) List<UpdateServiceInstanceInitializationFlow> initializationFlows, @Autowired(required=false) List<UpdateServiceInstanceCompletionFlow> completionFlows, @Autowired(required=false) List<UpdateServiceInstanceErrorFlow> errorFlows) Conditionally create a newUpdateServiceInstanceEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
asyncOperationRegistry
@Bean @ConditionalOnMissingBean(AsyncOperationServiceInstanceEventFlowRegistry.class) public AsyncOperationServiceInstanceEventFlowRegistry asyncOperationRegistry(@Autowired(required=false) List<AsyncOperationServiceInstanceInitializationFlow> initializationFlows, @Autowired(required=false) List<AsyncOperationServiceInstanceCompletionFlow> completionFlows, @Autowired(required=false) List<AsyncOperationServiceInstanceErrorFlow> errorFlows) Conditionally create a newAsyncOperationServiceInstanceEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
createInstanceBindingRegistry
@Bean @ConditionalOnMissingBean(CreateServiceInstanceBindingEventFlowRegistry.class) public CreateServiceInstanceBindingEventFlowRegistry createInstanceBindingRegistry(@Autowired(required=false) List<CreateServiceInstanceBindingInitializationFlow> initializationFlows, @Autowired(required=false) List<CreateServiceInstanceBindingCompletionFlow> completionFlows, @Autowired(required=false) List<CreateServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newCreateServiceInstanceBindingEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
deleteInstanceBindingRegistry
@Bean @ConditionalOnMissingBean(DeleteServiceInstanceBindingEventFlowRegistry.class) public DeleteServiceInstanceBindingEventFlowRegistry deleteInstanceBindingRegistry(@Autowired(required=false) List<DeleteServiceInstanceBindingInitializationFlow> initializationFlows, @Autowired(required=false) List<DeleteServiceInstanceBindingCompletionFlow> completionFlows, @Autowired(required=false) List<DeleteServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newDeleteServiceInstanceBindingEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
asyncOperationBindingRegistry
@Bean @ConditionalOnMissingBean(AsyncOperationServiceInstanceBindingEventFlowRegistry.class) public AsyncOperationServiceInstanceBindingEventFlowRegistry asyncOperationBindingRegistry(@Autowired(required=false) List<AsyncOperationServiceInstanceBindingInitializationFlow> initializationFlows, @Autowired(required=false) List<AsyncOperationServiceInstanceBindingCompletionFlow> completionFlows, @Autowired(required=false) List<AsyncOperationServiceInstanceBindingErrorFlow> errorFlows) Conditionally create a newAsyncOperationServiceInstanceBindingEventFlowRegistry
bean.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows- Returns:
- the bean
-
eventFlowRegistries
@Bean @ConditionalOnMissingBean(EventFlowRegistries.class) public EventFlowRegistries eventFlowRegistries(CreateServiceInstanceEventFlowRegistry createInstanceRegistry, UpdateServiceInstanceEventFlowRegistry updateInstanceRegistry, DeleteServiceInstanceEventFlowRegistry deleteInstanceRegistry, AsyncOperationServiceInstanceEventFlowRegistry asyncOperationRegistry, CreateServiceInstanceBindingEventFlowRegistry createInstanceBindingRegistry, DeleteServiceInstanceBindingEventFlowRegistry deleteInstanceBindingRegistry, AsyncOperationServiceInstanceBindingEventFlowRegistry asyncOperationBindingRegistry) Conditionally create a newEventFlowRegistries
bean.- Parameters:
createInstanceRegistry
- the create instance flow registryupdateInstanceRegistry
- the update instance flow registrydeleteInstanceRegistry
- the delete instance flow registryasyncOperationRegistry
- the last operation flow registrycreateInstanceBindingRegistry
- the create instance binding flow registrydeleteInstanceBindingRegistry
- the delete instance binding flow registryasyncOperationBindingRegistry
- the last operation binding flow registry- Returns:
- the bean
-