static ObjectStore getStore() { if ( _objectStore == null ) { _objectStore = TxControl.getStore(); } return _objectStore; }
private final void setObjectStore() { if (_objStore == null) _objStore = TxControl.getStore(); }
/** * Get a reference to the Transaction Store. */ public ActionStatusService() { if ( _objectStore == null ) { _objectStore = TxControl.getStore(); } }
/** * Set up an object store and assign it to the currentStore variable. * * @return the object store implementation to use. * @see com.arjuna.ats.arjuna.objectstore.ObjectStore */ public ObjectStore getStore () { if (currentStore == null) { currentStore = TxControl.getStore(); } return currentStore; }
/** * @message com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_1 * [com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_1] - * ExpiredTransactionScanner created, with expiry time of {0} seconds * @message com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_2 * [com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_2] - * ExpiredTransactionScanner - exception during attempted move {0} {1} * @message com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_3 * [com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_3] - * ExpiredTransactionScanner - could not moved log {0} * @message com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_4 * [com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionScanner_4] - * ExpiredTransactionScanner - log {0} is assumed complete and will be * moved. */ public ExpiredTransactionScanner(String typeName, String movedTypeName) { _objectStore = TxControl.getStore(); _typeName = typeName; _movedTypeName = movedTypeName; }
/** * Gets a reference to the Object Store. */ public TransactionStatusConnectionManager() { if ( _objStore == null ) { _objStore = TxControl.getStore() ; } updateTSMI() ; }
/** * Construction is caused by presence of class name as property value. * @see com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor */ public ExpiredServerScanner () { super(AssumedCompleteServerTransaction.typeName(),TxControl.getStore()); } }
/** * Construction is caused by presence of class name as property value. * @see com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor */ public ExpiredToplevelScanner () { super(AssumedCompleteTransaction.typeName(),TxControl.getStore()); } }
public TransactionRecoveryModule () { if (jtsLogger.loggerI18N.isDebugEnabled()) { jtsLogger.loggerI18N.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "com.arjuna.ats.internal.jts.recovery.transactions.TransactionRecoveryModule_1"); } if (_transactionStore == null) { _transactionStore = TxControl.getStore(); } }
protected AtomicActionRecoveryModule (String type) { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug ( DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "AtomicActionRecoveryModule created" ); } if (_transactionStore == null) { _transactionStore = TxControl.getStore() ; } _transactionStatusConnectionMgr = new TransactionStatusConnectionManager() ; _transactionType = type; }
public AtomicActionRecoveryModule() { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug ( DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "AtomicActionRecoveryModule created" ); } if (_transactionStore == null) { _transactionStore = TxControl.getStore() ; } _transactionStatusConnectionMgr = new TransactionStatusConnectionManager() ; }
public static boolean getTransactions (InputObjectState os, int status) { ObjectStore store = TxControl.getStore(); try { return store.allObjUids(com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.typeName(), os, status); } catch (NullPointerException ex) { } catch (ObjectStoreException e) { e.printStackTrace(); } return false; }
ObjectStore imple = txc.getStore();
ObjectStore objStore = TxControl.getStore(); InputObjectState states = new InputObjectState();
ObjectStore objStore = TxControl.getStore(); InputObjectState states = new InputObjectState();
_transactionStore = TxControl.getStore();
currentStore = TxControl.getStore();
ObjectStore store = com.arjuna.ats.arjuna.coordinator.TxControl.getStore();
ObjectStore store = com.arjuna.ats.arjuna.coordinator.TxControl.getStore();
currentStore = TxControl.getStore();