Package org.teiid.resource.spi
Class WrappedConnection
- java.lang.Object
-
- org.teiid.resource.spi.WrappedConnection
-
- All Implemented Interfaces:
javax.resource.cci.Connection
,Connection
,WrappedConnection
public class WrappedConnection extends Object implements javax.resource.cci.Connection, WrappedConnection
-
-
Constructor Summary
Constructors Constructor Description WrappedConnection(BasicManagedConnection mc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
javax.resource.cci.Interaction
createInteraction()
javax.resource.cci.LocalTransaction
getLocalTransaction()
javax.resource.cci.ConnectionMetaData
getMetaData()
javax.resource.cci.ResultSetInfo
getResultSetInfo()
javax.resource.cci.Connection
unwrap()
-
-
-
Constructor Detail
-
WrappedConnection
public WrappedConnection(BasicManagedConnection mc)
-
-
Method Detail
-
close
public void close() throws javax.resource.ResourceException
- Specified by:
close
in interfacejavax.resource.cci.Connection
- Specified by:
close
in interfaceConnection
- Throws:
javax.resource.ResourceException
-
createInteraction
public javax.resource.cci.Interaction createInteraction() throws javax.resource.ResourceException
- Specified by:
createInteraction
in interfacejavax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
-
getLocalTransaction
public javax.resource.cci.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
- Specified by:
getLocalTransaction
in interfacejavax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
-
getMetaData
public javax.resource.cci.ConnectionMetaData getMetaData() throws javax.resource.ResourceException
- Specified by:
getMetaData
in interfacejavax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
-
getResultSetInfo
public javax.resource.cci.ResultSetInfo getResultSetInfo() throws javax.resource.ResourceException
- Specified by:
getResultSetInfo
in interfacejavax.resource.cci.Connection
- Throws:
javax.resource.ResourceException
-
unwrap
public javax.resource.cci.Connection unwrap() throws javax.resource.ResourceException
- Specified by:
unwrap
in interfaceWrappedConnection
- Throws:
javax.resource.ResourceException
-
-