Class DataSourceWrapper

java.lang.Object
de.aristaflow.adept2.base.registry.dbconfiguration.DataSourceWrapper
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class DataSourceWrapper extends Object implements DataSource
A simple wrapper for a JDBCDataSource which is required by DatabaseConfiguration. Note that only getConnection() is implemented. All other methods throw an UnsupportedOperationException.
This implementation needs to be changed as soon as DatabaseConfiguration uses more than getConnection().
Author:
Ulrich Kreher