|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个 CLASS | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.transaction.xa Interface Xid
public interface Xid
The Xid interface is a Java mapping of the X/Open transaction identifier XID structure. This interface specifies three accessor methods to retrieve a global transaction's format ID, global transaction ID, and branch qualifier. The Xid interface is used by the transaction manager and the resource managers. This interface is not visible to the application programs.
字段摘要 | |
---|---|
static int |
MAXBQUALSIZE
Maximum number of bytes returned by getBqual. |
static int |
MAXGTRIDSIZE
Maximum number of bytes returned by getGtrid. |
方法摘要 | |
---|---|
byte[] |
getBranchQualifier()
Obtain the transaction branch identifier part of XID as an array of bytes. |
int |
getFormatId()
Obtain the format identifier part of the XID. |
byte[] |
getGlobalTransactionId()
Obtain the global transaction identifier part of XID as an array of bytes. |
字段详细信息 |
---|
MAXGTRIDSIZE
static final int MAXGTRIDSIZE
- Maximum number of bytes returned by getGtrid.
- 另请参见:
- 常量字段
MAXBQUALSIZE
static final int MAXBQUALSIZE
- Maximum number of bytes returned by getBqual.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getFormatId
int getFormatId()
- Obtain the format identifier part of the XID.
- 返回:
- Format identifier. O means the OSI CCR format.
getGlobalTransactionId
byte[] getGlobalTransactionId()
- Obtain the global transaction identifier part of XID as an array
of bytes.
- 返回:
- Global transaction identifier.
getBranchQualifier
byte[] getBranchQualifier()
- Obtain the transaction branch identifier part of XID as an array
of bytes.
- 返回:
- Global transaction identifier.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个 CLASS | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.