@FunctionalInterface public interface ConnectionFactoryLookup
ConnectionFactory
by name.Modifier and Type | Method and Description |
---|---|
io.r2dbc.spi.ConnectionFactory |
getConnectionFactory(String connectionFactoryName)
Retrieve the
ConnectionFactory identified by the given name. |
io.r2dbc.spi.ConnectionFactory getConnectionFactory(String connectionFactoryName) throws ConnectionFactoryLookupFailureException
ConnectionFactory
identified by the given name.connectionFactoryName
- the name of the ConnectionFactory
ConnectionFactory
(never null
)ConnectionFactoryLookupFailureException
- if the lookup failed