Class SimpleDataSourceReference

java.lang.Object
org.conical.common.bbl.db.querier.SimpleDataSourceReference
All Implemented Interfaces:
DataSourceReference

public class SimpleDataSourceReference extends Object implements DataSourceReference
Simple implementation of DataSourceReference which uses a DataSourceConfig to access a specific database via the DataSourceFactory. For use by users who simply want to access the capabilities of the Querier without a custom implementation to configure their DataSource or look up via JNDI.
Author:
rdoherty
  • Constructor Details

    • SimpleDataSourceReference

      public SimpleDataSourceReference(DataSourceConfig config)
      Constructor creates an instance configured by the passed DataSourceConfig.
      Parameters:
      config - database configuration to access
  • Method Details