FileDocCategorySizeDatePackage
XidFactoryMBean.javaAPI DocJBoss 4.2.13827Fri Jul 13 20:53:50 BST 2007org.jboss.ejb3.embedded

XidFactoryMBean

public class XidFactoryMBean extends Object implements org.jboss.tm.XidFactoryMBean
Stupid wrapper because tons of services use the XidFactoryMBean interface.
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
private XidFactoryBase
base
Constructors Summary
public XidFactoryMBean(XidFactoryBase base)

      this.base = base;
   
Methods Summary
public voidcreate()

   
public voiddestroy()

   
public longextractLocalIdFrom(byte[] globalId)

      return base.extractLocalIdFrom(globalId);
   
public java.lang.StringgetBaseBranchQualifier(byte[] branchQualifier)

      return base.getBaseBranchQualifier(branchQualifier);
   
public java.lang.StringgetBaseGlobalId()

      return base.getBaseGlobalId();
   
public java.lang.StringgetBranchQualifier()

      return base.getBranchQualifier();
   
public longgetGlobalIdNumber()

      return base.getGlobalIdNumber();
   
public org.jboss.tm.XidFactoryMBeangetInstance()

      return this;
   
public java.lang.StringgetName()

      throw new RuntimeException("should not be called");
   
public intgetState()

      throw new RuntimeException("should not be called");
   
public java.lang.StringgetStateString()

      throw new RuntimeException("should not be called");
   
public booleanisPad()

      return base.isPad();
   
public voidjbossInternalLifecycle(java.lang.String method)

      throw new RuntimeException("should not be called");
   
public byte[]localIdToGlobalId(long localId)

      return base.localIdToGlobalId(localId);
   
public XidImplnewBranch(GlobalId globalId)

      return base.newBranch(globalId);
   
public XidImplnewBranch(XidImpl xid, long branchIdNum)

      return base.newBranch(xid, branchIdNum);
   
public XidImplnewXid()

      return base.newXid();
   
public XidImplrecreateXid(long localId)

      return base.recreateXid(localId);
   
public XidImplrecreateXid(long localId, GlobalId globalId)

      return base.recreateXid(localId, globalId);
   
public voidsetBaseGlobalId(java.lang.String baseGlobalId)

      base.setBaseGlobalId(baseGlobalId);
   
public voidsetBranchQualifier(java.lang.String branchQualifier)

      base.setBranchQualifier(branchQualifier);
   
public voidsetGlobalIdNumber(long globalIdNumber)

      base.setGlobalIdNumber(globalIdNumber);
   
public voidsetPad(boolean pad)

      base.setPad(pad);
   
public voidstart()

   
public voidstop()

   
public java.lang.StringtoString(javax.transaction.xa.Xid xid)

      return base.toString(xid);