org.apache.ojb.broker.accesslayer
Class ConnectionFactoryManagedImpl

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
      extended by org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
          extended by 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

Constructor Summary
ConnectionFactoryManagedImpl()
          Deprecated.  
 
Method Summary
 Connection lookupConnection(JdbcConnectionDescriptor jcd)
          Deprecated. Lookup a connection from the connection factory implementation.
protected  Connection newConnectionFromDriverManager(JdbcConnectionDescriptor jcd)
          Deprecated. Returns a new created connection
 
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
checkOutJdbcConnection, releaseJdbcConnection, validateConnection
 
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
getDbURL, getJcdDescription, getJdbcProperties, getJdbcProperties, initializeJdbcConnection, newConnectionFromDataSource, releaseAllResources, releaseConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactoryManagedImpl

public ConnectionFactoryManagedImpl()
Deprecated. 
Method Detail

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.