org.formaria.data.sql
Class NamedConnectionObject

java.lang.Object
  extended by org.formaria.pool.PoolObject
      extended by org.formaria.data.sql.ConnectionObject
          extended by org.formaria.data.sql.NamedConnectionObject

public class NamedConnectionObject
extends ConnectionObject

A data connection associated with a named set of connection parameters

Copyright: Copyright (c) 2003
License: see license.txt

$Revision: 2.3 $ License: see license.txt


Constructor Summary
NamedConnectionObject(java.lang.String name, java.sql.Connection conn, PoolManager pool)
          Construct a new named connection
 
Method Summary
 java.lang.String getName()
          Get the name of this connection object
 
Methods inherited from class org.formaria.data.sql.ConnectionObject
close, closePreparedStatement, closeStatement, createStatement, createStatement, createStatement, getConnection, isClosed, prepareStatement, prepareStatement, prepareStatement, validate
 
Methods inherited from class org.formaria.pool.PoolObject
expireLease, getInUse, getLastUse, lease
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedConnectionObject

public NamedConnectionObject(java.lang.String name,
                             java.sql.Connection conn,
                             PoolManager pool)
Construct a new named connection

Parameters:
name - the connection name
conn - the connection
pool - the pool manager for this connections
Method Detail

getName

public java.lang.String getName()
Get the name of this connection object

Returns:
the connection name