|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.transaction.TransactionHelper
public abstract class TransactionHelper
Helper for managing transactions required by higher-level functionality.
This class is a convenience wrapper for gaining access to objects
and resources related to the transaction manager, on both
client and server processes.
Constructor Summary | |
---|---|
TransactionHelper()
|
Method Summary | |
---|---|
javax.transaction.Transaction |
getTransaction()
Gets the transaction associated with this thread. |
static TransactionHelper |
getTransactionHelper()
Get the TransactionHelper singleton. |
abstract ClientTransactionManager |
getTransactionManager()
Return an implementation of TransactionManager suitable for use in the current client. |
abstract UserTransaction |
getUserTransaction()
Return an implementation of UserTransaction suitable for use in the current client. |
static TransactionHelper |
popTransactionHelper()
Pop the TransactionHelper singleton. |
static void |
pushTransactionHelper(TransactionHelper helper)
Push the TransactionHelper singleton. |
static void |
setTransactionHelper(TransactionHelper helper)
Set the TransactionHelper singleton. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionHelper()
Method Detail |
---|
public static TransactionHelper getTransactionHelper()
public static void setTransactionHelper(TransactionHelper helper)
helper
- - a suitable TransactionHelper implementation for
client or server.public static void pushTransactionHelper(TransactionHelper helper)
helper
- - a suitable TransactionHelper implementation for
client or server.public static TransactionHelper popTransactionHelper() throws EmptyStackException
EmptyStackException
public abstract UserTransaction getUserTransaction()
UserTransaction
public abstract ClientTransactionManager getTransactionManager()
TransactionManager
public javax.transaction.Transaction getTransaction()
TransactionManager
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |