org.apache.ojb.broker.accesslayer
Class ConnectionFactoryManagedImpl

java.lang.Object
  extended byorg.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
      extended byorg.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
          extended byorg.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
All Implemented Interfaces:
ConnectionFactory

public class ConnectionFactoryManagedImpl
extends ConnectionFactoryNotPooledImpl

ConnectionFactory for use in managed environments - e.g. jboss.

Version:
$Id: ConnectionFactoryManagedImpl.java,v 1.4 2004/04/04 23:53:30 brianm Exp $
Author:
Armin Waibel

Constructor Summary
ConnectionFactoryManagedImpl()
           
 
Method Summary
 java.sql.Connection lookupConnection(JdbcConnectionDescriptor jcd)
          Lookup a connection from the connection factory implementation.
 
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
getConnectionFromPool, returnConnectionToPool
 
Methods inherited from class org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl
releaseAllResources, releaseConnection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactoryManagedImpl

public ConnectionFactoryManagedImpl()
Method Detail

lookupConnection

public java.sql.Connection lookupConnection(JdbcConnectionDescriptor jcd)
                                     throws LookupException
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


(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2