|
|||||||||
| Home >> All >> org >> activemq >> store >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.activemq.store.jdbc
Class TransactionContext

java.lang.Objectorg.activemq.store.jdbc.TransactionContext
- public class TransactionContext
- extends java.lang.Object
Helps keep track of the current transaction/JDBC connection.
- Version:
- $Revision: 1.1 $
| Field Summary | |
private static org.apache.commons.logging.Log |
log
|
private static java.lang.ThreadLocal |
threadLocalTxn
|
| Constructor Summary | |
TransactionContext()
|
|
| Method Summary | |
static java.sql.Connection |
peekConnection()
|
static java.sql.Connection |
popConnection()
Pops off the current Connection from the stack |
static void |
pushConnection(java.sql.Connection connection)
Sets the current transaction, possibly including nesting |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
private static final org.apache.commons.logging.Log log
threadLocalTxn
private static java.lang.ThreadLocal threadLocalTxn
| Constructor Detail |
TransactionContext
public TransactionContext()
| Method Detail |
popConnection
public static java.sql.Connection popConnection()
- Pops off the current Connection from the stack
pushConnection
public static void pushConnection(java.sql.Connection connection)
- Sets the current transaction, possibly including nesting
peekConnection
public static java.sql.Connection peekConnection()
|
|||||||||
| Home >> All >> org >> activemq >> store >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.activemq.store.jdbc.TransactionContext