summaryrefslogtreecommitdiff
path: root/libjava/javax/transaction/xa/Xid.java
blob: 2edf0c52c57af8ae48cb67a4c2a8c6f8df46f5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Copyright (C) 2001  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */
 
package javax.transaction.xa;
 
/**
 * @author Warren Levy <warrenl@redhat.com>
 * @date May 25, 2001
 */

public abstract interface Xid
{
  public static final int MAXGTRIDSIZE = 64;
  public static final int MAXBQUALSIZE = 64;

  public int getFormatId();
  public byte[] getGlobalTransactionId();
  public byte[] getBranchQualifier();
}