public class OdeManagedConnectionFactory
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionFactory
ManagedConnectionFactory implementation.| Constructor and Description |
|---|
OdeManagedConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
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) |
java.io.PrintWriter |
getLogWriter() |
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set candidates,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) |
void |
setLogWriter(java.io.PrintWriter printWriter) |
void |
setProperty(java.lang.String key,
java.lang.String val) |
void |
setTransport(java.lang.String transportClassName) |
void |
setURL(java.lang.String url) |
public void setTransport(java.lang.String transportClassName)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic void setURL(java.lang.String url)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic void setProperty(java.lang.String key,
java.lang.String val)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
throws javax.resource.ResourceException
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set candidates,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic void setLogWriter(java.io.PrintWriter printWriter)
throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceException