Class MapConnectionFactoryLookup

java.lang.Object
org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
All Implemented Interfaces:
ConnectionFactoryLookup

public class MapConnectionFactoryLookup extends Object implements ConnectionFactoryLookup
Simple ConnectionFactoryLookup implementation that relies on a map for doing lookups.

Useful for testing environments or applications that need to match arbitrary String names to target ConnectionFactory objects.

Since:
5.3
Author:
Mark Paluch, Jens Schauder