Class DelegatingDataSource

java.lang.Object
io.micronaut.transaction.jdbc.DelegatingDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class DelegatingDataSource extends Object implements DataSource
JDBC DataSource implementation that delegates all calls to a given target DataSource.

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

Since:
1.1
Author:
Juergen Hoeller, graemerocher
See Also: