|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
ConnectionFactory for use in managed environments - e.g. jboss.
Constructor Summary | |
ConnectionFactoryManagedImpl()
|
Method Summary | |
java.sql.Connection |
lookupConnection(JdbcConnectionDescriptor jcd)
Lookup a connection from the connection factory implementation. |
protected java.sql.Connection |
newConnectionFromDriverManager(JdbcConnectionDescriptor jcd)
Returns a new created connection |
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl |
getConnectionFromPool, returnConnectionToPool |
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl |
getDbURL, initializeJdbcConnection, newConnectionFromDataSource, releaseAllResources, releaseConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionFactoryManagedImpl()
Method Detail |
public java.sql.Connection lookupConnection(JdbcConnectionDescriptor jcd) throws LookupException
ConnectionFactory
lookupConnection
in interface ConnectionFactory
lookupConnection
in class ConnectionFactoryAbstractImpl
LookupException
protected java.sql.Connection newConnectionFromDriverManager(JdbcConnectionDescriptor jcd) throws LookupException
ConnectionFactoryAbstractImpl
newConnectionFromDriverManager
in class ConnectionFactoryAbstractImpl
jcd
- the connection descriptor
LookupException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |