org.teiid.resource.spi
Class WrappedConnection

java.lang.Object
  extended by org.teiid.resource.spi.WrappedConnection
All Implemented Interfaces:
javax.resource.cci.Connection

public class WrappedConnection
extends java.lang.Object
implements javax.resource.cci.Connection


Constructor Summary
WrappedConnection(BasicManagedConnection mc)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedConnection

public WrappedConnection(BasicManagedConnection mc)
Method Detail

close

public void close()
           throws javax.resource.ResourceException
Specified by:
close in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
Specified by:
createInteraction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

unwrap

public javax.resource.cci.Connection unwrap()
                                     throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException


Copyright © 2010. All Rights Reserved.