blob: 7c67f63b3f0ba659de3ce19a40552faf46af6eee [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>jakarta.transaction</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="jakarta.transaction";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../jakarta/servlet/jsp/tagext/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../jakarta/websocket/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?jakarta/transaction/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;jakarta.transaction</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/Status.html" title="interface in jakarta.transaction">Status</a></td>
<td class="colLast">
<div class="block">The Status interface defines static variables used for transaction
status codes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/Synchronization.html" title="interface in jakarta.transaction">Synchronization</a></td>
<td class="colLast">
<div class="block">The transaction manager supports a synchronization mechanism
that allows the interested party to be notified before and
after the transaction completes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/Transaction.html" title="interface in jakarta.transaction">Transaction</a></td>
<td class="colLast">
<div class="block">The Transaction interface allows operations to be performed against
the transaction in the target Transaction object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionManager.html" title="interface in jakarta.transaction">TransactionManager</a></td>
<td class="colLast">
<div class="block">The TransactionManager interface defines the methods that allow an
application server to manage transaction boundaries.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionSynchronizationRegistry.html" title="interface in jakarta.transaction">TransactionSynchronizationRegistry</a></td>
<td class="colLast">
<div class="block">This interface is intended for use by system level application server
components such as persistence managers, resource adapters, as well as
Jakarta Enterprise Beans and Web application components.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/UserTransaction.html" title="interface in jakarta.transaction">UserTransaction</a></td>
<td class="colLast">
<div class="block">The UserTransaction interface defines the methods that allow an
application to explicitly manage transaction boundaries.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/Transactional.TxType.html" title="enum in jakarta.transaction">Transactional.TxType</a></td>
<td class="colLast">
<div class="block">The TxType element of the annotation indicates whether a bean method is to be
executed within a transaction context where the values provide the following
corresponding behavior.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/HeuristicCommitException.html" title="class in jakarta.transaction">HeuristicCommitException</a></td>
<td class="colLast">
<div class="block">This exception is thrown by the rollback operation on a resource to
report that a heuristic decision was made and that all relevant updates
have been committed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/HeuristicMixedException.html" title="class in jakarta.transaction">HeuristicMixedException</a></td>
<td class="colLast">
<div class="block">This exception is thrown to report that a heuristic decision was made and
that some relevant updates have been committed and others have been
rolled back.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/HeuristicRollbackException.html" title="class in jakarta.transaction">HeuristicRollbackException</a></td>
<td class="colLast">
<div class="block">This exception is thrown by the commit operation to report that a heuristic
decision was made and that all relevant updates have been rolled back.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/InvalidTransactionException.html" title="class in jakarta.transaction">InvalidTransactionException</a></td>
<td class="colLast">
<div class="block">This exception indicates that the request carried an invalid transaction
context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/NotSupportedException.html" title="class in jakarta.transaction">NotSupportedException</a></td>
<td class="colLast">
<div class="block">NotSupportedException exception indicates that the request cannot be
executed because the operation is not a supported feature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/RollbackException.html" title="class in jakarta.transaction">RollbackException</a></td>
<td class="colLast">
<div class="block">RollbackException exception is thrown when the transaction has been
marked for rollback only or the transaction has been rolled back
instead of committed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/SystemException.html" title="class in jakarta.transaction">SystemException</a></td>
<td class="colLast">
<div class="block">The SystemException is thrown by the transaction manager to
indicate that it has encountered an unexpected error condition
that prevents future transaction services from proceeding.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionalException.html" title="class in jakarta.transaction">TransactionalException</a></td>
<td class="colLast">
<div class="block">The TransactionalException thrown from the Transactional interceptors
implementation contains the original exception as its nested exception
and is a RuntimeException, therefore, by default any
transaction that was started as a result of a Transactional annotation
earlier in the call stream will be marked for rollback as a result of
the TransactionalException being thrown by the Transactional interceptor
of the second bean.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionRequiredException.html" title="class in jakarta.transaction">TransactionRequiredException</a></td>
<td class="colLast">
<div class="block">This exception indicates that a request carried a null transaction context,
but the target object requires an active transaction.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionRolledbackException.html" title="class in jakarta.transaction">TransactionRolledbackException</a></td>
<td class="colLast">
<div class="block">This exception indicates that the transaction associated with processing
of the request has been rolled back, or it has been marked to roll back.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation">
<caption><span>Annotation Types Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Annotation Type</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../jakarta/transaction/Transactional.html" title="annotation in jakarta.transaction">Transactional</a></td>
<td class="colLast">
<div class="block">The jakarta.transaction.Transactional annotation provides the application
the ability to declaratively control transaction boundaries on CDI managed beans, as
well as classes defined as managed beans by the Jakarta EE specification, at both the class
and method level where method level annotations override those at the class level.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../jakarta/transaction/TransactionScoped.html" title="annotation in jakarta.transaction">TransactionScoped</a></td>
<td class="colLast">
<div class="block">The jakarta.transaction.TransactionScoped annotation provides the ability to
specify a standard CDI scope to define bean instances whose lifecycle is
scoped to the currently active Jakarta Transactions transaction.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../jakarta/servlet/jsp/tagext/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../jakarta/websocket/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?jakarta/transaction/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>