org.orbeon.oxf.resources
Class DataSourceResourceManagerImpl

java.lang.Object
  extended by ResourceManagerBase
      extended by org.orbeon.oxf.resources.DBResourceManagerImpl
          extended by org.orbeon.oxf.resources.DataSourceResourceManagerImpl

public class DataSourceResourceManagerImpl
extends DBResourceManagerImpl

Extends the DBResourceManagerImpl to support datasources.

See Also:
DBResourceManagerImpl

Constructor Summary
DataSourceResourceManagerImpl(Map props, javax.sql.DataSource dataSource)
           
 
Method Summary
protected  void closeConnection(Connection connection)
           
protected  Connection getConnection()
           
 
Methods inherited from class org.orbeon.oxf.resources.DBResourceManagerImpl
canWrite, getContentAsReader, getContentAsStream, getOutputStream, getRealPath, getWriter, lastModifiedImpl, length, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceResourceManagerImpl

public DataSourceResourceManagerImpl(Map props,
                                     javax.sql.DataSource dataSource)
Method Detail

getConnection

protected Connection getConnection()
                            throws SQLException
Overrides:
getConnection in class DBResourceManagerImpl
Throws:
SQLException

closeConnection

protected void closeConnection(Connection connection)
                        throws SQLException
Overrides:
closeConnection in class DBResourceManagerImpl
Throws:
SQLException