org.tranql.connector
Interface UserPasswordManagedConnectionFactory

All Superinterfaces:
javax.resource.spi.ManagedConnectionFactory, java.io.Serializable
All Known Implementing Classes:
AbstractLocalDataSourceMCF, AbstractXADataSourceMCF, JDBCDriverMCF

public interface UserPasswordManagedConnectionFactory
extends javax.resource.spi.ManagedConnectionFactory

A specialization of ManagedConnectionFactory that provides access to a defined user name and password credential that should be used for all connections.

Version:
$Revision: 204 $ $Date: 2005-07-16 23:32:09 +0200 (Sat, 16 Jul 2005) $

Method Summary
 java.lang.String getPassword()
          Return the password credential used to establish the connection.
 java.lang.String getUserName()
          Return the user name used to establish the connection.
 
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory
createConnectionFactory, createConnectionFactory, createManagedConnection, equals, getLogWriter, hashCode, matchManagedConnections, setLogWriter
 

Method Detail

getUserName

public java.lang.String getUserName()
Return the user name used to establish the connection.

Returns:
the user name used to establish the connection

getPassword

public java.lang.String getPassword()
Return the password credential used to establish the connection.

Returns:
the password credential used to establish the connection


Copyright © -2006 The Codehaus. All Rights Reserved.