org.apache.openjpa.jdbc.schema
Interface DriverDataSource

All Superinterfaces:
org.apache.openjpa.lib.conf.Configurable, javax.sql.DataSource
All Known Implementing Classes:
SimpleDriverDataSource

public interface DriverDataSource
extends javax.sql.DataSource, org.apache.openjpa.lib.conf.Configurable

A DataSource that allows additional configuration options to be set into it, so that it can wrap a JDBC driver or other DataSource.

Author:
Marc Prud'hommeaux

Method Summary
 java.util.List createConnectionDecorators()
           
 java.lang.ClassLoader getClassLoader()
           
 java.lang.String getConnectionDriverName()
           
 java.util.Properties getConnectionFactoryProperties()
           
 java.util.Properties getConnectionProperties()
           
 java.lang.String getConnectionURL()
           
 java.lang.String getConnectionUserName()
           
 void initDBDictionary(DBDictionary dict)
           
 void setClassLoader(java.lang.ClassLoader classLoader)
           
 void setConnectionDriverName(java.lang.String connectionDriverName)
           
 void setConnectionFactoryProperties(java.util.Properties props)
           
 void setConnectionPassword(java.lang.String connectionPassword)
           
 void setConnectionProperties(java.util.Properties props)
           
 void setConnectionURL(java.lang.String connectionURL)
           
 void setConnectionUserName(java.lang.String connectionUserName)
           
 
Methods inherited from interface javax.sql.DataSource
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface org.apache.openjpa.lib.conf.Configurable
endConfiguration, setConfiguration, startConfiguration
 

Method Detail

setConnectionURL

void setConnectionURL(java.lang.String connectionURL)

getConnectionURL

java.lang.String getConnectionURL()

setConnectionDriverName

void setConnectionDriverName(java.lang.String connectionDriverName)

getConnectionDriverName

java.lang.String getConnectionDriverName()

setConnectionUserName

void setConnectionUserName(java.lang.String connectionUserName)

getConnectionUserName

java.lang.String getConnectionUserName()

setConnectionPassword

void setConnectionPassword(java.lang.String connectionPassword)

setClassLoader

void setClassLoader(java.lang.ClassLoader classLoader)

getClassLoader

java.lang.ClassLoader getClassLoader()

setConnectionFactoryProperties

void setConnectionFactoryProperties(java.util.Properties props)

getConnectionFactoryProperties

java.util.Properties getConnectionFactoryProperties()

setConnectionProperties

void setConnectionProperties(java.util.Properties props)

getConnectionProperties

java.util.Properties getConnectionProperties()

createConnectionDecorators

java.util.List createConnectionDecorators()

initDBDictionary

void initDBDictionary(DBDictionary dict)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.