net.xoetrope.optional.data.sql
Class NamedConnectionObject

java.lang.Object
  extended by net.xoetrope.optional.pool.PoolObject
      extended by net.xoetrope.optional.data.sql.ConnectionObject
          extended by net.xoetrope.optional.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 net.xoetrope.optional.data.sql.ConnectionObject
close, createStatement, createStatement, createStatement, getConnection, isClosed, prepareStatement, prepareStatement, prepareStatement, returnPreparedStatement, returnStatement, validate
 
Methods inherited from class net.xoetrope.optional.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