com.caucho.transaction
Interface ManagedResource


public interface ManagedResource

Managed resource like a database connection registered with the transaction.


Method Summary
 void abortConnection()
           
 java.lang.IllegalStateException getAllocationStackTrace()
           
 java.lang.Object getUserConnection()
           
 ManagedXAResource getXAResource()
           
 boolean isCloseDanglingConnections()
           
 void setSaveAllocationStackTrace(boolean isEnable)
           
 

Method Detail

getXAResource

ManagedXAResource getXAResource()

isCloseDanglingConnections

boolean isCloseDanglingConnections()

getAllocationStackTrace

java.lang.IllegalStateException getAllocationStackTrace()

setSaveAllocationStackTrace

void setSaveAllocationStackTrace(boolean isEnable)

getUserConnection

java.lang.Object getUserConnection()

abortConnection

void abortConnection()