01: /* Copyright 2005 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.rdbm.pool;
07:
08: import javax.sql.DataSource;
09:
10: /**
11: * A stub IPooledDataSourceFactory implementation we use to test ability
12: * to instantiate and use the implementation configured via PropertiesManager.
13: * @version $Revision: 36594 $ $Date: 2006-05-19 13:56:44 -0700 (Fri, 19 May 2006) $
14: */
15: public class StubPooledDataSourceFactory implements
16: IPooledDataSourceFactory {
17:
18: public StubPooledDataSourceFactory() {
19: // do nothing
20: }
21:
22: public DataSource createPooledDataSource(String driverClassName,
23: String userName, String password, String url,
24: boolean poolPreparedStatements) {
25: return null;
26: }
27:
28: }
|