org.jboss.tm
Interface XidFactoryMBean

All Known Implementing Classes:
XidFactory

public interface XidFactoryMBean

MBean interface.


Method Summary
 long extractLocalIdFrom(byte[] globalId)
          Extracts the local id contained in a global id.
 String getBaseGlobalId()
          mbean get-set pair for field BaseGlobalId Get the value of BaseGlobalId
 long getGlobalIdNumber()
          mbean get-set pair for field globalIdNumber Get the value of globalIdNumber
 XidFactoryMBean getInstance()
          mbean get-set pair for field instance Get the value of instance
 boolean isPad()
          mbean get-set pair for field pad Get the value of pad
 XidImpl newBranch(XidImpl xid, long branchIdNum)
          Describe newBranch method here.
 XidImpl newXid()
          Describe newXid method here.
 void setBaseGlobalId(String baseGlobalId)
          Set the value of BaseGlobalId
 void setGlobalIdNumber(long globalIdNumber)
          Set the value of globalIdNumber
 void setPad(boolean pad)
          Set the value of pad
 String toString(Xid xid)
          Describe toString method here.
 

Method Detail

getBaseGlobalId

String getBaseGlobalId()
mbean get-set pair for field BaseGlobalId Get the value of BaseGlobalId

Returns:
value of BaseGlobalId

setBaseGlobalId

void setBaseGlobalId(String baseGlobalId)
Set the value of BaseGlobalId

Parameters:
BaseGlobalId - Value to assign to BaseGlobalId

getGlobalIdNumber

long getGlobalIdNumber()
mbean get-set pair for field globalIdNumber Get the value of globalIdNumber

Returns:
value of globalIdNumber

setGlobalIdNumber

void setGlobalIdNumber(long globalIdNumber)
Set the value of globalIdNumber

Parameters:
globalIdNumber - Value to assign to globalIdNumber

isPad

boolean isPad()
mbean get-set pair for field pad Get the value of pad

Returns:
value of pad

setPad

void setPad(boolean pad)
Set the value of pad

Parameters:
pad - Value to assign to pad

getInstance

XidFactoryMBean getInstance()
mbean get-set pair for field instance Get the value of instance

Returns:
value of instance

newXid

XidImpl newXid()
Describe newXid method here.

Returns:
a XidImpl value

newBranch

XidImpl newBranch(XidImpl xid,
                  long branchIdNum)
Describe newBranch method here.

Parameters:
xid - a XidImpl value
branchIdNum - a long value
Returns:
a XidImpl value

extractLocalIdFrom

long extractLocalIdFrom(byte[] globalId)
Extracts the local id contained in a global id.

Parameters:
globalId - a global id
Returns:
the local id extracted from the global id

toString

String toString(Xid xid)
Describe toString method here.

Parameters:
xid - a Xid value
Returns:
a String value


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