Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05

weblogic.transaction
Class XIDFactory

java.lang.Object
  extended by weblogic.transaction.XIDFactory

public class XIDFactory
extends Object

Factory class for platform-specific Xid instances.


Constructor Summary
XIDFactory()
           
 
Method Summary
static Xid createXID(byte[] aGlobalTransactionId, byte[] aBranchQualifier)
          Create an Xid object, assuming global transaction identifier is in internal format of weblogic's transaction manager.
static Xid createXID(int aFormatId, byte[] aGlobalTransactionId, byte[] aBranchQualifier)
          Create an Xid object, given its public attributes.
static Xid createXID(String branch)
          Create an Xid object, given its public attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XIDFactory

public XIDFactory()
Method Detail

createXID

public static final Xid createXID(byte[] aGlobalTransactionId,
                                  byte[] aBranchQualifier)
Create an Xid object, assuming global transaction identifier is in internal format of weblogic's transaction manager.

Parameters:
aGlobalTransactionId - Global transation identifier
aBranchQualifier - Branch qualifier (optional)
Returns:
An Xid object or null

createXID

public static Xid createXID(int aFormatId,
                            byte[] aGlobalTransactionId,
                            byte[] aBranchQualifier)
Create an Xid object, given its public attributes.

Parameters:
aFormatId - Format identifier
aGlobalTransactionId - Global transation identifier
aBranchQualifier - Branch qualifier
Returns:
An Xid object or null

createXID

public static Xid createXID(String branch)
Create an Xid object, given its public attributes.

Parameters:
branch - branch name
Returns:
An Xid object

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05