| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| 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
EmptyStackExceptionpublic abstract UserTransaction getUserTransaction()
UserTransactionpublic abstract ClientTransactionManager getTransactionManager()
TransactionManagerpublic javax.transaction.Transaction getTransaction()
TransactionManager| 
 | Copyright 1996, 2010, 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.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||