public static Control createPropagatedControl (Coordinator coord) { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::createPropagatedControl ( " + coord + " )"); } ControlImple proxyControl = new ControlImple(coord, null); return proxyControl.getControl(); }
public static Control createPropagatedControl (Coordinator coord) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple::createPropagatedControl ( " + coord + " )"); } ControlImple proxyControl = new ControlImple(coord, null); return proxyControl.getControl(); }
/** * Non-idl methods, but we put them here because they are related to the * work the factory does. */ public static Control create_subtransaction (Control control, ArjunaTransactionImple parent) { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::create_subtransaction ( " + control + ", " + ((parent != null) ? parent.get_uid() : Uid.nullUid()) + " )"); } try { ControlImple subTranControl = new ControlImple(control, parent); return subTranControl.getControl(); } catch (OutOfMemoryError e) { System.gc(); throw new NO_MEMORY(0, CompletionStatus.COMPLETED_NO); } }
ControlImple tranControl = new ControlImple((Control) null, (ArjunaTransactionImple) null); int theTimeout = time_out;
/** * Non-idl methods, but we put them here because they are related to the * work the factory does. */ public static Control create_subtransaction (Control control, ArjunaTransactionImple parent) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple::create_subtransaction ( " + control + ", " + ((parent != null) ? parent.get_uid() : Uid.nullUid()) + " )"); } try { ControlImple subTranControl = new ControlImple(control, parent); return subTranControl.getControl(); } catch (OutOfMemoryError e) { System.gc(); throw new NO_MEMORY(0, CompletionStatus.COMPLETED_NO); } }
theUid = new Uid(); ControlImple proxy = new ControlImple(coordinator, terminator, parentControl, theUid);
ControlImple tranControl = new ControlImple((Control) null, (ArjunaTransactionImple) null); int theTimeout = time_out;
theUid = new Uid(); ControlImple proxy = new ControlImple(coordinator, terminator, parentControl, theUid);