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

XidFactoryMBean (JBoss Transaction API) - JBoss 4.0.1 sp1 transaction API Documentation 英文版文档


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

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

Returns:
value of BaseGlobalId

setBaseGlobalId

public void setBaseGlobalId(String baseGlobalId)
Set the value of BaseGlobalId


getGlobalIdNumber

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

Returns:
value of globalIdNumber

setGlobalIdNumber

public void setGlobalIdNumber(long globalIdNumber)
Set the value of globalIdNumber

Parameters:
globalIdNumber - Value to assign to globalIdNumber

isPad

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

Returns:
value of pad

setPad

public void setPad(boolean pad)
Set the value of pad

Parameters:
pad - Value to assign to pad

getInstance

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

Returns:
value of instance

newXid

public XidImpl newXid()
Describe newXid method here.

Returns:
a XidImpl value

newBranch

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

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

extractLocalIdFrom

public 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

public 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.