|
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 | ||||||||||
public interface UserTransaction
This interface defines WebLogic-specific extensions to javax.transaction.UserTransaction.
| Method Summary | |
|---|---|
abstract void |
begin(String name)Create a new transaction, set the transaction name property and associate the transaction with the current thread. |
abstract void |
begin(String name, int timeoutseconds)Create a new transaction with the specified timeout value, set the transaction name property and associate the transaction with the current thread. |
| Methods inherited from interface javax.transaction.UserTransaction |
|---|
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout |
| Method Detail |
|---|
void begin(String name)
throws NotSupportedException,
SystemException
name - The descriptive name to be associated with the new transaction.NotSupportedException - Thrown if the thread is already associated with a transaction.SystemException - Thrown if the transaction manager encounters an unexpected error condition.Transaction.setName(String)
void begin(String name,
int timeoutseconds)
throws NotSupportedException,
SystemException
name - The descriptive name to be associated with the new transaction.timeoutseconds - The timeout value for the transaction. This value will override the default timeout value associated with the current thread. If a value of zero is specified the default timeout will be used.NotSupportedException - Thrown if the thread is already associated with a transaction.SystemException - Thrown if the transaction manager encounters an unexpected error condition.Transaction.setName(String)
|
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 | |||||||||