public static final synchronized int tx_set_transaction_timeout (int timeout) { int toReturn = tx.TX_OK; CurrentImple current = OTSImpleManager.current(); try { current.set_timeout(timeout); } catch (Exception e) { toReturn = tx.TX_FAIL; } return toReturn; }
/** * @return the TransactionFactory object implementation. This has the * advantage of not needing to register the object withm the ORB, which * can affect performance. */ public static TransactionFactoryImple factory () throws org.omg.CORBA.SystemException { return com.arjuna.ats.internal.jts.OTSImpleManager.factory(); }
/** * @return the Current object. */ public static org.omg.CosTransactions.Current get_current () throws org.omg.CORBA.SystemException { return com.arjuna.ats.internal.jts.OTSImpleManager.get_current(); }
if (OTSImpleManager.localFactory()) TransactionFactoryImple theFactory = OTSImpleManager.factory(); TransactionFactory theFactory = OTSImpleManager.get_factory();
/** * @return the Current object implementation. This has the advantage of not * needing to register the object with the ORB, which can affect * performance. */ public static CurrentImple systemCurrent () throws org.omg.CORBA.SystemException { init(); return OTSImpleManager._current; }
Uid uid = OTSImpleManager.systemCurrent().contextManager().getReceivedCoordinatorUid(); if (uid != null) { OTSImpleManager.systemCurrent().contextManager().disassociateContext(OTSManager.getReceivedSlotId()); return TransactionImple.getTransactions().get(uid); } else {
/** * @return the TransactionFactory object. */ public static TransactionFactory get_factory () throws org.omg.CORBA.SystemException { return com.arjuna.ats.internal.jts.OTSImpleManager.get_factory(); }
public void work () { com.arjuna.ats.internal.jts.OTSImpleManager.purge(); }
if (OTSImpleManager.localFactory()) TransactionFactoryImple theFactory = OTSImpleManager.factory(); TransactionFactory theFactory = OTSImpleManager.get_factory();
/** * Is a co-located TransactionFactory required? */ public static boolean localFactory () { init(); return (_theFactory != null); }
Uid uid = OTSImpleManager.systemCurrent().contextManager().getReceivedCoordinatorUid(); if (uid != null) { return TransactionImple.getTransactions().get(uid);
/** * @return the TransactionFactory object. */ public static TransactionFactory get_factory () throws org.omg.CORBA.SystemException { return com.arjuna.ats.internal.jts.OTSImpleManager.get_factory(); }
public void work () { com.arjuna.ats.internal.jts.OTSImpleManager.purge(); }
public static final synchronized int tx_set_transaction_timeout (int timeout) { int toReturn = tx.TX_OK; CurrentImple current = OTSImpleManager.current(); try { current.set_timeout(timeout); } catch (Exception e) { toReturn = tx.TX_FAIL; } return toReturn; }
if (OTSImpleManager.localFactory()) currentAction = new ControlWrapper( OTSImpleManager.factory().createLocal(get_timeout())); else currentAction = new ControlWrapper( OTSImpleManager.get_factory().create(get_timeout()));
/** * Is a co-located TransactionFactory required? */ public static boolean localFactory () { init(); return (_theFactory != null); }
ControlWrapper theControl = OTSImpleManager.systemCurrent().contextManager().current(threadId);
/** * @return the Current object. */ public static org.omg.CosTransactions.Current get_current () throws org.omg.CORBA.SystemException { return com.arjuna.ats.internal.jts.OTSImpleManager.get_current(); }