org.teiid.resource.spi
Class BasicManagedConnectionFactory
java.lang.Object
org.teiid.resource.spi.BasicManagedConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation, javax.resource.spi.ValidatingManagedConnectionFactory
public abstract class BasicManagedConnectionFactory
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation, javax.resource.spi.ValidatingManagedConnectionFactory
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
equals, hashCode |
BasicManagedConnectionFactory
public BasicManagedConnectionFactory()
createConnectionFactory
public abstract BasicConnectionFactory 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 cm)
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 arg0,
javax.resource.spi.ConnectionRequestInfo arg1)
throws javax.resource.ResourceException
- Specified by:
createManagedConnection 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
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set arg0,
javax.security.auth.Subject arg1,
javax.resource.spi.ConnectionRequestInfo arg2)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(java.io.PrintWriter arg0)
throws javax.resource.ResourceException
- Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Specified by:
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter arg0)
throws javax.resource.ResourceException
- Specified by:
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
- Throws:
javax.resource.ResourceException
getInstance
public static <T> T getInstance(java.lang.Class<T> expectedType,
java.lang.String className,
java.util.Collection ctorObjs,
java.lang.Class defaultClass)
throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
getInvalidConnections
public java.util.Set<BasicManagedConnection> getInvalidConnections(java.util.Set arg0)
throws javax.resource.ResourceException
- Specified by:
getInvalidConnections in interface javax.resource.spi.ValidatingManagedConnectionFactory
- Throws:
javax.resource.ResourceException
Copyright © 2011. All Rights Reserved.