com.facetmap.sql
Class ConnectionManager.DataSourceWrapper

java.lang.Object
  extended by com.facetmap.sql.ConnectionManager.DataSourceWrapper
All Implemented Interfaces:
ConnectionManager
Enclosing interface:
ConnectionManager

public static class ConnectionManager.DataSourceWrapper
extends java.lang.Object
implements ConnectionManager

Use this class to provide a J2EE DataSource to Facetmap as a ConnectionManager.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.facetmap.sql.ConnectionManager
ConnectionManager.Basic, ConnectionManager.DataSourceWrapper
 
Field Summary
protected  javax.sql.DataSource dataSource
           
 
Constructor Summary
ConnectionManager.DataSourceWrapper(javax.sql.DataSource dataSource)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected javax.sql.DataSource dataSource
Constructor Detail

ConnectionManager.DataSourceWrapper

public ConnectionManager.DataSourceWrapper(javax.sql.DataSource dataSource)
Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface ConnectionManager
Throws:
java.sql.SQLException