public interface ServiceInstanceBindingService
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<CreateServiceInstanceBindingResponse> |
createServiceInstanceBinding(CreateServiceInstanceBindingRequest request)
Create a new binding to a service instance.
|
default reactor.core.publisher.Mono<Void> |
deleteServiceInstanceBinding(DeleteServiceInstanceBindingRequest request)
Delete a service instance binding.
|
default reactor.core.publisher.Mono<Void> |
getAfterCreateFlow(CreateServiceInstanceBindingRequest request,
CreateServiceInstanceBindingResponse response)
Hook for performing an action after a service instance binding is created
|
default reactor.core.publisher.Mono<Void> |
getAfterDeleteFlow(DeleteServiceInstanceBindingRequest request)
Hook for performing an action after a service instance binding is deleted
|
default reactor.core.publisher.Mono<Void> |
getBeforeCreateFlow(CreateServiceInstanceBindingRequest request)
Hook for performing an action before a service instance binding is created
|
default reactor.core.publisher.Mono<Void> |
getBeforeDeleteFlow(DeleteServiceInstanceBindingRequest request)
Hook for performing an action before a service instance binding is deleted
|
default reactor.core.publisher.Mono<Void> |
getErrorCreateFlow(CreateServiceInstanceBindingRequest request,
Throwable error)
Hook for performing an action when creating a service instance binding produces an error
|
default reactor.core.publisher.Mono<Void> |
getErrorDeleteFlow(DeleteServiceInstanceBindingRequest request,
Throwable error)
Hook for performing an action when deleting a service instance binding produces an error
|
default reactor.core.publisher.Mono<GetServiceInstanceBindingResponse> |
getServiceInstanceBinding(GetServiceInstanceBindingRequest request)
Get the details of a binding to a service instance.
|
default reactor.core.publisher.Mono<CreateServiceInstanceBindingResponse> createServiceInstanceBinding(CreateServiceInstanceBindingRequest request)
request
- containing the details of the requestCreateServiceInstanceBindingResponse
on successful processing of the requestServiceInstanceBindingExistsException
- if a binding with the given ID is already known to the brokerServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceBrokerBindingRequiresAppException
- if the broker only supports application binding but an
app GUID is not provided in the requestdefault reactor.core.publisher.Mono<GetServiceInstanceBindingResponse> getServiceInstanceBinding(GetServiceInstanceBindingRequest request)
request
- containing the details of the requestGetServiceInstanceBindingResponse
on successful processing of the requestServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceInstanceBindingDoesNotExistException
- if a binding with the given ID is not known to the brokerServiceBrokerOperationInProgressException
- if a an operation is in progress for the service bindingdefault reactor.core.publisher.Mono<Void> deleteServiceInstanceBinding(DeleteServiceInstanceBindingRequest request)
request
- containing the details of the requestServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceInstanceBindingDoesNotExistException
- if a binding with the given ID is not known to the brokerdefault reactor.core.publisher.Mono<Void> getBeforeCreateFlow(CreateServiceInstanceBindingRequest request)
request
- the request to create a service instance bindingdefault reactor.core.publisher.Mono<Void> getAfterCreateFlow(CreateServiceInstanceBindingRequest request, CreateServiceInstanceBindingResponse response)
request
- the request to create a service instance bindingresponse
- the response resulting from a successful service instance binding createdefault reactor.core.publisher.Mono<Void> getErrorCreateFlow(CreateServiceInstanceBindingRequest request, Throwable error)
request
- the request to create a service instance bindingerror
- the error resulting from a failed service instance binding createdefault reactor.core.publisher.Mono<Void> getBeforeDeleteFlow(DeleteServiceInstanceBindingRequest request)
request
- the request to delete a service instance bindingdefault reactor.core.publisher.Mono<Void> getAfterDeleteFlow(DeleteServiceInstanceBindingRequest request)
request
- the request to delete a service instance bindingdefault reactor.core.publisher.Mono<Void> getErrorDeleteFlow(DeleteServiceInstanceBindingRequest request, Throwable error)
request
- the request to delete a service instance bindingerror
- the error resulting from a failed service instance binding delete