|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.tm.XidFactory
XidFactory.java Created: Sat Jun 15 19:01:18 2002
Constructor Summary | |
XidFactory()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XidFactory()
Method Detail |
public String getBaseGlobalId()
getBaseGlobalId
in interface XidFactoryMBean
public void setBaseGlobalId(String baseGlobalId)
setBaseGlobalId
in interface XidFactoryMBean
public long getGlobalIdNumber()
getGlobalIdNumber
in interface XidFactoryMBean
public void setGlobalIdNumber(long globalIdNumber)
setGlobalIdNumber
in interface XidFactoryMBean
globalIdNumber
- Value to assign to globalIdNumberpublic boolean isPad()
isPad
in interface XidFactoryMBean
public void setPad(boolean pad)
setPad
in interface XidFactoryMBean
pad
- Value to assign to padpublic XidFactoryMBean getInstance()
getInstance
in interface XidFactoryMBean
public XidImpl newXid()
newXid
method here.
newXid
in interface XidFactoryMBean
XidImpl
valuepublic XidImpl newBranch(XidImpl xid, long branchIdNum)
newBranch
method here.
newBranch
in interface XidFactoryMBean
xid
- a XidImpl
valuebranchIdNum
- a long
value
XidImpl
valuepublic long extractLocalIdFrom(byte[] globalId)
extractLocalIdFrom
in interface XidFactoryMBean
globalId
- a global id
public String toString(Xid xid)
toString
method here.
toString
in interface XidFactoryMBean
xid
- a Xid
value
String
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |