站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

Status (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.transaction
Interface Status


public interface Status

The Status interface defines the constants for transaction status codes.

Version:
$Revision: 1.2 $

Field Summary
static int STATUS_ACTIVE
          Status code indicating an active transaction.
static int STATUS_COMMITTED
          Status code indicating a transaction that has been committed.
static int STATUS_COMMITTING
          Status code indicating a transaction that has begun the second phase of the two-phase commit protocol, but not yet completed this phase.
static int STATUS_MARKED_ROLLBACK
          Status code indicating a transaction that has been marked for rollback only.
static int STATUS_NO_TRANSACTION
          Status code indicating that no transaction exists.
static int STATUS_PREPARED
          Status code indicating a transaction that has completed the first phase of the two-phase commit protocol, but not yet begun the second phase.
static int STATUS_PREPARING
          Status code indicating a transaction that has begun the first phase of the two-phase commit protocol, not not yet completed this phase.
static int STATUS_ROLLEDBACK
          Status code indicating a transaction that has been rolled back.
static int STATUS_ROLLING_BACK
          Status code indicating a transaction that is in the process of rolling back.
static int STATUS_UNKNOWN
          Status code indicating that the transaction status could not be determined.
 

Field Detail

STATUS_ACTIVE

public static final int STATUS_ACTIVE
Status code indicating an active transaction.

See Also:
Constant Field Values

STATUS_MARKED_ROLLBACK

public static final int STATUS_MARKED_ROLLBACK
Status code indicating a transaction that has been marked for rollback only.

See Also:
Constant Field Values

STATUS_PREPARED

public static final int STATUS_PREPARED
Status code indicating a transaction that has completed the first phase of the two-phase commit protocol, but not yet begun the second phase. Probably the transaction is waiting for instruction from a superior coordinator on how to proceed.

See Also:
Constant Field Values

STATUS_COMMITTED

public static final int STATUS_COMMITTED
Status code indicating a transaction that has been committed. Probably heuristics still exists, or the transaction would no longer exist.

See Also:
Constant Field Values

STATUS_ROLLEDBACK

public static final int STATUS_ROLLEDBACK
Status code indicating a transaction that has been rolled back. Probably heuristics still exists, or the transaction would no longer exist.

See Also:
Constant Field Values

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
Status code indicating that the transaction status could not be determined.

See Also:
Constant Field Values

STATUS_NO_TRANSACTION

public static final int STATUS_NO_TRANSACTION
Status code indicating that no transaction exists.

See Also:
Constant Field Values

STATUS_PREPARING

public static final int STATUS_PREPARING
Status code indicating a transaction that has begun the first phase of the two-phase commit protocol, not not yet completed this phase.

See Also:
Constant Field Values

STATUS_COMMITTING

public static final int STATUS_COMMITTING
Status code indicating a transaction that has begun the second phase of the two-phase commit protocol, but not yet completed this phase.

See Also:
Constant Field Values

STATUS_ROLLING_BACK

public static final int STATUS_ROLLING_BACK
Status code indicating a transaction that is in the process of rolling back.

See Also:
Constant Field Values


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.