|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
weblogic.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.
| Method Summary | |
|---|---|
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 |
| 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
EmptyStackExceptionpublic abstract UserTransaction getUserTransaction()
UserTransactionpublic abstract ClientTransactionManager getTransactionManager()
TransactionManagerpublic Transaction getTransaction()
TransactionManager.getTransaction()
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||