Package org.springframework.r2dbc.connection.lookup
@NullMarked
package org.springframework.r2dbc.connection.lookup
Provides a strategy for looking up R2DBC ConnectionFactories by name.
-
ClassDescriptionAbstract
ConnectionFactoryimplementation that routesAbstractRoutingConnectionFactory.create()calls to one of various target factories based on a lookup key.ConnectionFactoryLookupimplementation based on a SpringBeanFactory.Strategy interface for looking upConnectionFactoryby name.Exception to be thrown by aConnectionFactoryLookupimplementation, indicating that the specifiedConnectionFactorycould not be obtained.SimpleConnectionFactoryLookupimplementation that relies on a map for doing lookups.An implementation ofConnectionFactoryLookupthat simply wraps a single givenConnectionFactoryreturned for any connection factory name.