org.tranql.connector
Interface UserPasswordManagedConnectionFactory

All Superinterfaces:
javax.resource.spi.ManagedConnectionFactory, Serializable
All Known Implementing Classes:
AbstractLocalDataSourceMCF, AbstractPooledConnectionDataSourceMCF, 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: 508 $ $Date: 2007-09-21 04:02:45 +0200 (Fri, 21 Sep 2007) $

Method Summary
 String getPassword()
          Return the password credential used to establish the connection.
 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

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

Returns:
the user name used to establish the connection

getPassword

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

Returns:
the password credential used to establish the connection


Copyright © 2004-2012 Tranql project committers. All Rights Reserved.