status.html
来自「SUN公司官方J2EE中文帮助文档 应该不错 有兴趣的下来看看 html格式的」· HTML 代码 · 共 348 行
HTML
348 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Jan 17 03:51:40 PST 2002 -->
<TITLE>
Java 2 Platform EE v1.3: Interface Status
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../javax/transaction/Synchronization.html"><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>
<A HREF="Status.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | METHOD</FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.transaction</FONT>
<BR>
Interface Status</H2>
<HR>
<DL>
<DT>public interface <B>Status</B></DL>
<P>
The Status interface defines the static variable for transaction
status code.
<P>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_ACTIVE">STATUS_ACTIVE</A></B></CODE>
<BR>
A transaction is associated with the target object and it is in the
active state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_COMMITTED">STATUS_COMMITTED</A></B></CODE>
<BR>
A transaction is associated with the target object and it has been
committed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_COMMITTING">STATUS_COMMITTING</A></B></CODE>
<BR>
A transaction is associated with the target object and it is in the
process of committing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_MARKED_ROLLBACK">STATUS_MARKED_ROLLBACK</A></B></CODE>
<BR>
A transaction is associated with the target object and it has been
marked for rollback, perhaps as a result of a setRollbackOnly operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_NO_TRANSACTION">STATUS_NO_TRANSACTION</A></B></CODE>
<BR>
No transaction is currently associated with the target object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_PREPARED">STATUS_PREPARED</A></B></CODE>
<BR>
A transaction is associated with the target object and it has been
prepared, i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_PREPARING">STATUS_PREPARING</A></B></CODE>
<BR>
A transaction is associated with the target object and it is in the
process of preparing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_ROLLEDBACK">STATUS_ROLLEDBACK</A></B></CODE>
<BR>
A transaction is associated with the target object and the outcome
has been determined as rollback.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_ROLLING_BACK">STATUS_ROLLING_BACK</A></B></CODE>
<BR>
A transaction is associated with the target object and it is in the
process of rolling back.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/transaction/Status.html#STATUS_UNKNOWN">STATUS_UNKNOWN</A></B></CODE>
<BR>
A transaction is associated with the target object but its
current status cannot be determined.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</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.</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.</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, i.e. all subordinates have responded Vote.Commit. The
target object may be waiting for a superior's instruction as how
to proceed.</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 exists, otherwise the
transaction would have been destroyed and NoTransaction returned.</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 as rollback. It is likely that heuristics exist,
otherwise the transaction would have been destroyed and NoTransaction
returned.</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.</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.</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, probably
because it is waiting for responses to prepare from one or more
Resources.</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 process, probably
because it is waiting for responses from one or more Resources.</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,
probably because it is waiting for responses from one or more
Resources.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../javax/transaction/Synchronization.html"><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>
<A HREF="Status.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | METHOD</FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?