org.teiid.resource.spi
Class WrappedConnectionFactory
java.lang.Object
org.teiid.resource.spi.WrappedConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.Referenceable, javax.resource.cci.ConnectionFactory
public class WrappedConnectionFactory
- extends java.lang.Object
- implements javax.resource.cci.ConnectionFactory, javax.resource.Referenceable, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappedConnectionFactory
public WrappedConnectionFactory(BasicConnectionFactory delegate,
javax.resource.spi.ConnectionManager cm,
BasicManagedConnectionFactory mcf)
getConnection
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
setReference
public void setReference(javax.naming.Reference arg0)
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference
in interface javax.naming.Referenceable
- Throws:
javax.naming.NamingException
getConnection
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec arg0)
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
getMetaData
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
getRecordFactory
public javax.resource.cci.RecordFactory getRecordFactory()
throws javax.resource.ResourceException
- Specified by:
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
Copyright © 2011. All Rights Reserved.