org.tranql.connector.jdbc
Class AbstractXADataSourceMCF
java.lang.Object
org.tranql.connector.jdbc.AbstractXADataSourceMCF
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory, UserPasswordManagedConnectionFactory
public abstract class AbstractXADataSourceMCF
- extends java.lang.Object
- implements UserPasswordManagedConnectionFactory
- Version:
- $Revision: 262 $ $Date: 2005-09-25 02:45:28 +0200 (Sun, 25 Sep 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
xaDataSource
protected final javax.sql.XADataSource xaDataSource
exceptionSorter
protected final ExceptionSorter exceptionSorter
AbstractXADataSourceMCF
protected AbstractXADataSourceMCF(javax.sql.XADataSource xaDataSource,
ExceptionSorter exceptionSorter)
createConnectionFactory
public java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
createConnectionFactory
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
createManagedConnection
public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
throws javax.resource.ResourceException
- Specified by:
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getPhysicalConnection
protected javax.sql.XAConnection getPhysicalConnection(javax.security.auth.Subject subject,
CredentialExtractor credentialExtractor)
throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set set,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(java.io.PrintWriter log)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getLoginTimeout
public java.lang.Integer getLoginTimeout()
setLoginTimeout
public void setLoginTimeout(java.lang.Integer timeout)
throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
-
- Returns:
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © -2010 The Codehaus. All Rights Reserved.