org.objectweb.jonas.jdbc
Class ManagedConnectionFactoryImpl
java.lang.Object
org.objectweb.jonas.jdbc.ManagedConnectionFactoryImpl
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory
- Direct Known Subclasses:
- ConnectionPoolMCFImpl, DataSourceMCFImpl, DriverManagerMCFImpl, XAMCFImpl
public abstract class ManagedConnectionFactoryImpl
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory, java.io.Serializable
- Author:
- Eric hardesty
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
LOGGER_FACTORY
|
org.objectweb.util.monolog.api.Logger |
trace
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LOGGER_FACTORY
protected static final java.lang.String LOGGER_FACTORY
- See Also:
- Constant Field Values
trace
public org.objectweb.util.monolog.api.Logger trace
ManagedConnectionFactoryImpl
public ManagedConnectionFactoryImpl()
createManagedConnection
public abstract javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxReq)
throws javax.resource.ResourceException
- Specified by:
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
equals
public abstract boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
equals
in class java.lang.Object
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 cxMgr)
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getLogger
public void getLogger(java.lang.String _logTopic)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
hashCode
in class java.lang.Object
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxReq)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(java.io.PrintWriter _pw)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getDbSpecificMethods
public java.lang.String getDbSpecificMethods()
setDbSpecificMethods
public void setDbSpecificMethods(java.lang.String val)
getDsClass
public java.lang.String getDsClass()
setDsClass
public void setDsClass(java.lang.String val)
getIsolationLevel
public java.lang.String getIsolationLevel()
setIsolationLevel
public void setIsolationLevel(java.lang.String val)
getLoginTimeout
public java.lang.String getLoginTimeout()
setLoginTimeout
public void setLoginTimeout(java.lang.String val)
getLogTopic
public java.lang.String getLogTopic()
setLogTopic
public void setLogTopic(java.lang.String val)
getMapperName
public java.lang.String getMapperName()
setMapperName
public void setMapperName(java.lang.String val)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String val)
getUser
public java.lang.String getUser()
setUser
public void setUser(java.lang.String val)