Class DelegatingConnectionFactory

java.lang.Object
org.springframework.r2dbc.connection.DelegatingConnectionFactory
All Implemented Interfaces:
ConnectionFactory, Wrapped<ConnectionFactory>
Direct Known Subclasses:
SingleConnectionFactory, TransactionAwareConnectionFactoryProxy

public class DelegatingConnectionFactory extends Object implements ConnectionFactory, Wrapped<ConnectionFactory>
R2DBC ConnectionFactory implementation that delegates all calls to a given target ConnectionFactory.

This class is meant to be subclassed, with subclasses overriding only those methods (such as create()) that should not simply delegate to the target ConnectionFactory.

Since:
5.3
Author:
Mark Paluch
See Also: