Interface BindMarkersFactoryResolver.BindMarkerFactoryProvider
- Enclosing class:
- BindMarkersFactoryResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
SPI to extend Spring's default R2DBC
BindMarkersFactory
discovery
mechanism.
Implementations of this interface are discovered through Spring's
SpringFactoriesLoader
mechanism.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetBindMarkers
(ConnectionFactory connectionFactory) Return aBindMarkersFactory
for the givenConnectionFactory
.
-
Method Details
-
getBindMarkers
Return aBindMarkersFactory
for the givenConnectionFactory
.- Parameters:
connectionFactory
- the connection factory to be used with theBindMarkersFactory
- Returns:
- the
BindMarkersFactory
if thisBindMarkerFactoryProvider
can provide a bind marker factory object, otherwisenull
-