org.apache.ojb.broker.accesslayer
Class ConnectionFactoryManagedImpl
java.lang.Object
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
- All Implemented Interfaces:
- ConnectionFactory
Deprecated. no longer needed to specify a specific ConnectionFactory class in
managed environments.
public class ConnectionFactoryManagedImpl
- extends ConnectionFactoryNotPooledImpl
ConnectionFactory for use in managed environments - eg JBoss.
- Version:
- $Id: ConnectionFactoryManagedImpl.java,v 1.1 2007-08-24 22:17:30 ewestfal Exp $
- Author:
- Armin Waibel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionFactoryManagedImpl
public ConnectionFactoryManagedImpl()
- Deprecated.
lookupConnection
public Connection lookupConnection(JdbcConnectionDescriptor jcd)
throws LookupException
- Deprecated.
- Description copied from interface:
ConnectionFactory
- Lookup a connection from the connection factory implementation.
- Specified by:
lookupConnection in interface ConnectionFactory- Overrides:
lookupConnection in class ConnectionFactoryAbstractImpl
- Throws:
LookupException
newConnectionFromDriverManager
protected Connection newConnectionFromDriverManager(JdbcConnectionDescriptor jcd)
throws LookupException
- Deprecated.
- Description copied from class:
ConnectionFactoryAbstractImpl
- Returns a new created connection
- Overrides:
newConnectionFromDriverManager in class ConnectionFactoryAbstractImpl
- Parameters:
jcd - the connection descriptor
- Returns:
- an instance of Connection from the drivermanager
- Throws:
LookupException
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.