Class DataSourceWrapper

  • All Implemented Interfaces:
    Wrapper, CommonDataSource, DataSource

    public class DataSourceWrapper
    extends Object
    implements DataSource
    This class delegates all calls to the corresponding method on the wrapped DataSource except for the getConnection() method, which delegates to DataSource#getConnection(String, String) with the username and password which are given on construction.