public static ControlImple create (PropagationContext context) throws SystemException { if (__list != null) return __list.setupHierarchy(context); else return null; }
public ControlImple recreateLocal (PropagationContext ctx) throws SystemException { return OSIInterposition.create(ctx); }
public synchronized ControlImple setupHierarchy (PropagationContext context) throws SystemException { /* * Map otid to a Uid. */ Uid theUid = OTIDMap.find(context.current.otid); ServerTopLevelAction proxyAction = present(theUid); ControlImple controlPtr = null; if (proxyAction == null) { /* * Create a new proxyAction element and return the "current" transaction. */ controlPtr = createHierarchy(context, theUid); } else { controlPtr = checkHierarchy(proxyAction, context); } return controlPtr; }
public static synchronized Uid find (otid_t otid) { OTIDWrapper element = null; if (_otids.size() > 0) { Enumeration e = _otids.elements(); while (e.hasMoreElements()) { element = (OTIDWrapper) e.nextElement(); if (OTIDMap.same(element.get_otid(), otid)) return element.get_uid(); } } /* * Got here, so must be new otid. */ element = new OTIDWrapper(otid); _otids.put(element.get_uid(), element); return element.get_uid(); }
public void rollback_subtransaction () throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSINestedAction::rollback_subtransaction :" + _theUid); } OTIDMap.remove(get_uid()); super.rollback_subtransaction(); }
public Control recreate (PropagationContext ctx) throws SystemException { return recreateLocal(ctx).getControl(); }
public synchronized ControlImple setupHierarchy (PropagationContext context) throws SystemException { /* * Map otid to a Uid. */ Uid theUid = OTIDMap.find(context.current.otid); ServerTopLevelAction proxyAction = present(theUid); ControlImple controlPtr = null; if (proxyAction == null) { /* * Create a new proxyAction element and return the "current" transaction. */ controlPtr = createHierarchy(context, theUid); } else { controlPtr = checkHierarchy(proxyAction, context); } return controlPtr; }
public static synchronized Uid find (otid_t otid) { OTIDWrapper element = null; if (_otids.size() > 0) { Enumeration e = _otids.elements(); while (e.hasMoreElements()) { element = (OTIDWrapper) e.nextElement(); if (OTIDMap.same(element.get_otid(), otid)) return element.get_uid(); } } /* * Got here, so must be new otid. */ element = new OTIDWrapper(otid); _otids.put(element.get_uid(), element); return element.get_uid(); }
public void commit () throws SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::commit for " + _theUid); } OTIDMap.remove(get_uid()); super.commit(); }
public static ControlImple create (PropagationContext context) throws SystemException { if (__list != null) return __list.setupHierarchy(context); else return null; }
public ControlImple recreateLocal (PropagationContext ctx) throws SystemException { return OSIInterposition.create(ctx); }
public Control recreate (PropagationContext ctx) throws SystemException { return recreateLocal(ctx).getControl(); }
public void rollback () throws SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::rollback for " + _theUid); } OTIDMap.remove(get_uid()); super.rollback(); }
public void forget () throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::forget for " + _theUid); } OTIDMap.remove(get_uid()); super.forget(); }
public void commit_one_phase () throws HeuristicHazard, SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::commit_one_phase for " + _theUid); } OTIDMap.remove(get_uid()); super.commit_one_phase(); }
public void rollback () throws SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::rollback for "+_theUid); } OTIDMap.remove(get_uid()); super.rollback(); }
public void commit_one_phase () throws HeuristicHazard, SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::commit_one_phase for "+_theUid); } OTIDMap.remove(get_uid()); super.commit_one_phase(); }
public void commit () throws SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::commit for "+_theUid); } OTIDMap.remove(get_uid()); super.commit(); }
public void rollback_subtransaction () throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSINestedAction::rollback_subtransaction :"+_theUid); } OTIDMap.remove(get_uid()); super.rollback_subtransaction(); }
public void forget () throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::forget for "+_theUid); } OTIDMap.remove(get_uid()); super.forget(); }