Public Member Functions | |
MCInfo (ManagedConnection mc) | |
String | getState (String prefix) |
String | getState () |
boolean | isFreeStmt () |
void | destroy () throws Exception |
XAResource | getXAResource () throws ResourceException |
Public Attributes | |
ManagedConnection | mc |
Vector | usedCs = null |
RMEImpl | rme = null |
boolean | rmeCalled = false |
boolean | localTransaction = false |
LocalXAWrapper | lw = null |
Object | ctx |
Synchronization | synchro = null |
Vector | pStmts = null |
HashSet | stmtHash = null |
boolean | connectionEventListener = false |
Definition at line 41 of file MCInfo.java.
|
Constructor for the MCInfo object
Definition at line 110 of file MCInfo.java. |
|
Fowards the detroy call on the ManagedConnection
Definition at line 164 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.cleanResourceAdapter(). |
|
Gets the State attribute of the MCInfo object
Definition at line 144 of file MCInfo.java. |
|
Gets the State attribute of the MCInfo object
Definition at line 125 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.getState(). |
|
Gets the associated XAResource
Definition at line 173 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(), org.objectweb.jonas.resource.RMEImpl.enlistConnection(), and org.objectweb.jonas.resource.ConnectionManagerImpl.registerXAResource(). |
|
Determine if the first pStmt is free to remove
Definition at line 152 of file MCInfo.java. |
|
Has the ConnectionEventListener been set Definition at line 104 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(), and org.objectweb.jonas.resource.ConnectionManagerImpl.registerXAResource(). |
|
The Context linked to the managedConnection instance There are three state possible global transaction : ctx= the reference to the transaction instance local transaction: ctx=null / localTransaction = true other ctx = null; Definition at line 80 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.MySynchro.afterCompletion(), org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionClosed(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionErrorOccurred(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionCommitted(), and org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionRolledback(). |
|
Is the the managedConnection is inside a local transaction Definition at line 65 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.connectionClosed(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionCommitted(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionRolledback(), and org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionStarted(). |
|
If local transaction is used, then here is the LocalXAWrapper to use instead of an XA object Definition at line 71 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(). |
|
|
This vector will hold any necessary preparedStatements for this ManagedConnection. Definition at line 92 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.cleanResourceAdapter(). |
|
The event used for the later enlisting into transaction Definition at line 55 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(), org.objectweb.jonas.resource.ConnectionManagerImpl.cleanResourceAdapter(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionClosed(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionErrorOccurred(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionCommitted(), and org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionRolledback(). |
|
|
This HashSet contains the currently used preparedStatements for this ManagedConnection. Definition at line 98 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.MySynchro.afterCompletion(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionClosed(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionCommitted(), and org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionRolledback(). |
|
The current Synchronisation object used for the later enlisting into the global transaction Definition at line 86 of file MCInfo.java. Referenced by org.objectweb.jonas.resource.MySynchro.afterCompletion(), org.objectweb.jonas.resource.ConnectionManagerImpl.allocateConnection(), org.objectweb.jonas.resource.ConnectionManagerImpl.connectionClosed(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionCommitted(), org.objectweb.jonas.resource.ConnectionManagerImpl.localTransactionRolledback(), org.objectweb.jonas.resource.MySynchro.MySynchro(), and org.objectweb.jonas.resource.ConnectionManagerImpl.registerXAResource(). |
|