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 WrappedConnection
getConnection()
javax.resource.cci.Connection
getConnection(javax.resource.cci.ConnectionSpec arg0)
javax.resource.cci.ResourceAdapterMetaData
getMetaData()
javax.resource.cci.RecordFactory
getRecordFactory()
Reference
getReference()
void
setReference(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:
getConnection
in interfacejavax.resource.cci.ConnectionFactory
- Specified by:
getConnection
in interfaceConnectionFactory
- Throws:
javax.resource.ResourceException
-
setReference
public void setReference(Reference arg0)
- Specified by:
setReference
in interfacejavax.resource.Referenceable
-
getReference
public Reference getReference() throws NamingException
- Specified by:
getReference
in interfaceReferenceable
- Throws:
NamingException
-
getConnection
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec arg0) throws javax.resource.ResourceException
- Specified by:
getConnection
in interfacejavax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
-
getMetaData
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
- Specified by:
getMetaData
in interfacejavax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
-
getRecordFactory
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
- Specified by:
getRecordFactory
in interfacejavax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
-
-