status.html

来自「j2ee的API 1.4版本,j2ee的帮助文档」· HTML 代码 · 共 434 行 · 第 1/2 页

HTML
434
字号
</TABLE><A NAME="STATUS_ACTIVE"><!-- --></A><H3>STATUS_ACTIVE</H3><PRE>public static final int <B>STATUS_ACTIVE</B></PRE><DL><DD>A transaction is associated with the target object and it is in the active state. An implementation returns this status after a transaction has been started and prior to a Coordinator issuing any prepares, unless the transaction has been marked for rollback.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_ACTIVE">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_MARKED_ROLLBACK"><!-- --></A><H3>STATUS_MARKED_ROLLBACK</H3><PRE>public static final int <B>STATUS_MARKED_ROLLBACK</B></PRE><DL><DD>A transaction is associated with the target object and it has been marked for rollback, perhaps as a result of a setRollbackOnly operation.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_MARKED_ROLLBACK">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_PREPARED"><!-- --></A><H3>STATUS_PREPARED</H3><PRE>public static final int <B>STATUS_PREPARED</B></PRE><DL><DD>A transaction is associated with the target object and it has been prepared. That is, all subordinates have agreed to commit. The target object may be waiting for instructions from a superior as to how to proceed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_PREPARED">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_COMMITTED"><!-- --></A><H3>STATUS_COMMITTED</H3><PRE>public static final int <B>STATUS_COMMITTED</B></PRE><DL><DD>A transaction is associated with the target object and it has been committed. It is likely that heuristics exist; otherwise, the transaction would have been destroyed and NoTransaction returned.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_COMMITTED">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_ROLLEDBACK"><!-- --></A><H3>STATUS_ROLLEDBACK</H3><PRE>public static final int <B>STATUS_ROLLEDBACK</B></PRE><DL><DD>A transaction is associated with the target object and the outcome has been determined to be rollback. It is likely that heuristics exist; otherwise, the transaction would have been destroyed and NoTransaction returned.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_ROLLEDBACK">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_UNKNOWN"><!-- --></A><H3>STATUS_UNKNOWN</H3><PRE>public static final int <B>STATUS_UNKNOWN</B></PRE><DL><DD>A transaction is associated with the target object but its current status cannot be determined. This is a transient condition and a subsequent invocation will ultimately return a different status.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_UNKNOWN">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_NO_TRANSACTION"><!-- --></A><H3>STATUS_NO_TRANSACTION</H3><PRE>public static final int <B>STATUS_NO_TRANSACTION</B></PRE><DL><DD>No transaction is currently associated with the target object. This will occur after a transaction has completed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_NO_TRANSACTION">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_PREPARING"><!-- --></A><H3>STATUS_PREPARING</H3><PRE>public static final int <B>STATUS_PREPARING</B></PRE><DL><DD>A transaction is associated with the target object and it is in the process of preparing. An implementation returns this status if it has started preparing, but has not yet completed the process. The likely reason for this is that the implementation is probably waiting for responses to prepare from one or more Resources.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_PREPARING">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_COMMITTING"><!-- --></A><H3>STATUS_COMMITTING</H3><PRE>public static final int <B>STATUS_COMMITTING</B></PRE><DL><DD>A transaction is associated with the target object and it is in the process of committing. An implementation returns this status if it has decided to commit but has not yet completed the committing process.  This occurs because the implementation is probably waiting for  responses from one or more Resources.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_COMMITTING">Constant Field Values</A></DL></DL><HR><A NAME="STATUS_ROLLING_BACK"><!-- --></A><H3>STATUS_ROLLING_BACK</H3><PRE>public static final int <B>STATUS_ROLLING_BACK</B></PRE><DL><DD>A transaction is associated with the target object and it is in the process of rolling back. An implementation returns this status if it has decided to rollback but has not yet completed the process. The implementation is probably waiting for responses from one or more Resources.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.transaction.Status.STATUS_ROLLING_BACK">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../javax/transaction/Synchronization.html" title="interface in javax.transaction"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Status.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?