org.openejb.resource.jdbc
Class JdbcManagedConnectionFactory
java.lang.Object
org.openejb.resource.jdbc.JdbcManagedConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory
public class JdbcManagedConnectionFactory
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory, java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
createConnectionFactory()
|
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
|
javax.resource.spi.ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
|
boolean |
equals(java.lang.Object o)
|
java.io.PrintWriter |
getLogWriter()
|
int |
hashCode()
|
void |
init(java.util.Properties props)
|
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set set,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
|
void |
setLogWriter(java.io.PrintWriter printWriter)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
JdbcManagedConnectionFactory
public JdbcManagedConnectionFactory()
init
public void init(java.util.Properties props)
throws javax.resource.spi.ResourceAdapterInternalException
- Throws:
javax.resource.spi.ResourceAdapterInternalException
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
createConnectionFactory
public java.lang.Object createConnectionFactory()
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
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
setLogWriter
public void setLogWriter(java.io.PrintWriter printWriter)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
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
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface javax.resource.spi.ManagedConnectionFactory
- Overrides:
equals
in class java.lang.Object
Copyright © 1999-2011 OpenEJB. All Rights Reserved.