| |
|
| java.lang.Object org.objectweb.jonas.resource.MCInfo
MCInfo | public class MCInfo (Code) | | A ManagedConnection and its Information
author: sebastien.chassande@inrialpes.fr author: Eric.Hardesty@bull.com |
Constructor Summary | |
public | MCInfo(ManagedConnection mc) |
connectionEventListener | public boolean connectionEventListener(Code) | | Has the ConnectionEventListener been set
|
ctx | public Object ctx(Code) | | 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;
|
localTransaction | public boolean localTransaction(Code) | | Is the the managedConnection is inside a local transaction
|
lw | public LocalXAWrapper lw(Code) | | If local transaction is used, then here is the LocalXAWrapper to use
instead of an XA object
|
mc | public ManagedConnection mc(Code) | | The managedConnection
|
pStmts | public List pStmts(Code) | | This vector will hold any necessary preparedStatements for this
ManagedConnection.
|
rme | public RMEImpl rme(Code) | | The event used for the later enlisting into transaction
|
rmeCalled | public boolean rmeCalled(Code) | | Has the ResourceManagerEvent Listener been called
|
synchro | public Synchronization synchro(Code) | | The current Synchronisation object used for the later enlisting into
the global transaction
|
usedCs | public Vector usedCs(Code) | | The list of used Connections
|
MCInfo | public MCInfo(ManagedConnection mc)(Code) | | Constructor for the MCInfo object
Parameters: mc - ManagedConnection to associate with |
destroy | public void destroy() throws Exception(Code) | | Fowards the detroy call on the ManagedConnection
throws: Exception - if an Exception occurs |
findFreeStmt | public int findFreeStmt()(Code) | | Determine if there is a pStmt to remove
The method calling this code should use synchronized block
int offset of the first free entry |
getState | public String getState(String prefix)(Code) | | Gets the State attribute of the MCInfo object
Parameters: prefix - String to print out The State value |
getState | public String getState()(Code) | | Gets the State attribute of the MCInfo object
String current state |
getXAResource | public XAResource getXAResource() throws ResourceException(Code) | | Gets the associated XAResource
XAResource associated with this object throws: ResourceException - if an Exception occurs |
|
|
|