Package org.teiid.resource.spi
Class WrappedConnectionFactory
- java.lang.Object
-
- org.teiid.resource.spi.WrappedConnectionFactory
-
- All Implemented Interfaces:
Serializable,Referenceable,javax.resource.cci.ConnectionFactory,javax.resource.Referenceable,ConnectionFactory
public class WrappedConnectionFactory extends Object implements javax.resource.cci.ConnectionFactory, javax.resource.Referenceable, Serializable, ConnectionFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrappedConnectionFactory()WrappedConnectionFactory(BasicConnectionFactory delegate, javax.resource.spi.ConnectionManager cm, BasicManagedConnectionFactory mcf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WrappedConnectiongetConnection()javax.resource.cci.ConnectiongetConnection(javax.resource.cci.ConnectionSpec arg0)javax.resource.cci.ResourceAdapterMetaDatagetMetaData()javax.resource.cci.RecordFactorygetRecordFactory()ReferencegetReference()voidsetReference(Reference arg0)
-
-
-
Constructor Detail
-
WrappedConnectionFactory
public WrappedConnectionFactory()
-
WrappedConnectionFactory
public WrappedConnectionFactory(BasicConnectionFactory delegate, javax.resource.spi.ConnectionManager cm, BasicManagedConnectionFactory mcf)
-
-
Method Detail
-
getConnection
public WrappedConnection getConnection() throws javax.resource.ResourceException
- Specified by:
getConnectionin interfacejavax.resource.cci.ConnectionFactory- Specified by:
getConnectionin interfaceConnectionFactory- Throws:
javax.resource.ResourceException
-
setReference
public void setReference(Reference arg0)
- Specified by:
setReferencein interfacejavax.resource.Referenceable
-
getReference
public Reference getReference() throws NamingException
- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
getConnection
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec arg0) throws javax.resource.ResourceException- Specified by:
getConnectionin interfacejavax.resource.cci.ConnectionFactory- Throws:
javax.resource.ResourceException
-
getMetaData
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException- Specified by:
getMetaDatain interfacejavax.resource.cci.ConnectionFactory- Throws:
javax.resource.ResourceException
-
getRecordFactory
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException- Specified by:
getRecordFactoryin interfacejavax.resource.cci.ConnectionFactory- Throws:
javax.resource.ResourceException
-
-