Class CreateServiceInstanceBindingEventFlowRegistry
java.lang.Object
org.springframework.cloud.servicebroker.service.events.EventFlowRegistry<CreateServiceInstanceBindingInitializationFlow,CreateServiceInstanceBindingCompletionFlow,CreateServiceInstanceBindingErrorFlow,CreateServiceInstanceBindingRequest,CreateServiceInstanceBindingResponse>
org.springframework.cloud.servicebroker.service.events.CreateServiceInstanceBindingEventFlowRegistry
public class CreateServiceInstanceBindingEventFlowRegistry
extends EventFlowRegistry<CreateServiceInstanceBindingInitializationFlow,CreateServiceInstanceBindingCompletionFlow,CreateServiceInstanceBindingErrorFlow,CreateServiceInstanceBindingRequest,CreateServiceInstanceBindingResponse>
Event flow registry for create service instance binding requests.
- Author:
- Roy Clarkson
-
Constructor Summary
ConstructorDescriptionCreateServiceInstanceBindingEventFlowRegistry
(List<CreateServiceInstanceBindingInitializationFlow> initializationFlows, List<CreateServiceInstanceBindingCompletionFlow> completionFlows, List<CreateServiceInstanceBindingErrorFlow> errorFlows) Construct a newCreateServiceInstanceBindingEventFlowRegistry
. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Void>
getCompletionFlows
(CreateServiceInstanceBindingRequest request, CreateServiceInstanceBindingResponse response) Retrieve the completion flows as a Flux.reactor.core.publisher.Flux<Void>
Retrieve the error flows as a Flux.reactor.core.publisher.Flux<Void>
Retrieve the initialization flows as a Flux.Methods inherited from class org.springframework.cloud.servicebroker.service.events.EventFlowRegistry
addCompletionFlow, addErrorFlow, addInitializationFlow, getCompletionFlowsInternal, getErrorFlowsInternal, getInitializationFlowsInternal
-
Constructor Details
-
CreateServiceInstanceBindingEventFlowRegistry
public CreateServiceInstanceBindingEventFlowRegistry(List<CreateServiceInstanceBindingInitializationFlow> initializationFlows, List<CreateServiceInstanceBindingCompletionFlow> completionFlows, List<CreateServiceInstanceBindingErrorFlow> errorFlows) Construct a newCreateServiceInstanceBindingEventFlowRegistry
.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows
-
-
Method Details
-
getInitializationFlows
public reactor.core.publisher.Flux<Void> getInitializationFlows(CreateServiceInstanceBindingRequest request) Description copied from class:EventFlowRegistry
Retrieve the initialization flows as a Flux.- Specified by:
getInitializationFlows
in classEventFlowRegistry<CreateServiceInstanceBindingInitializationFlow,
CreateServiceInstanceBindingCompletionFlow, CreateServiceInstanceBindingErrorFlow, CreateServiceInstanceBindingRequest, CreateServiceInstanceBindingResponse> - Parameters:
request
- the service broker request- Returns:
- a Flux of initialization flows
-
getCompletionFlows
public reactor.core.publisher.Flux<Void> getCompletionFlows(CreateServiceInstanceBindingRequest request, CreateServiceInstanceBindingResponse response) Description copied from class:EventFlowRegistry
Retrieve the completion flows as a Flux.- Specified by:
getCompletionFlows
in classEventFlowRegistry<CreateServiceInstanceBindingInitializationFlow,
CreateServiceInstanceBindingCompletionFlow, CreateServiceInstanceBindingErrorFlow, CreateServiceInstanceBindingRequest, CreateServiceInstanceBindingResponse> - Parameters:
request
- the service broker requestresponse
- the service broker response- Returns:
- a Flux of completion flows
-
getErrorFlows
public reactor.core.publisher.Flux<Void> getErrorFlows(CreateServiceInstanceBindingRequest request, Throwable t) Description copied from class:EventFlowRegistry
Retrieve the error flows as a Flux.- Specified by:
getErrorFlows
in classEventFlowRegistry<CreateServiceInstanceBindingInitializationFlow,
CreateServiceInstanceBindingCompletionFlow, CreateServiceInstanceBindingErrorFlow, CreateServiceInstanceBindingRequest, CreateServiceInstanceBindingResponse> - Parameters:
request
- the service broker requestt
- the error- Returns:
- a Flux of error flows
-