/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
/** * If this is an imported transaction (via JCA) then this will be the Xid we * are pretending to be. Otherwise, it will be null. * * @return null if we are a local transaction, a valid Xid if we have been * imported. */ public final Xid baseXid() { return ((SubordinateAtomicAction) _theTransaction).getXid(); }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); if (sub.getXid() == null) { return "Error: The objectstore record could not be activated"; } return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); if (sub.getXid() == null) { return "Error: The objectstore record could not be activated"; } return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); if (sub.getXid() == null) { return "Error: The objectstore record could not be activated"; } return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); if (sub.getXid() == null) { return "Error: The objectstore record could not be activated"; } return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); if (sub.getXid() == null) { return "Error: The objectstore record could not be activated"; } return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
public String getXid() { try { SubordinateAtomicAction sub = (SubordinateAtomicAction) ra.getAction(); return sub.getXid().toString(); } catch (ClassCastException e) { if (tsLogger.logger.isDebugEnabled()) { BasicAction ba = ra.getAction(); tsLogger.logger.debug("unable to cast " + ba.toString() + e.getMessage()); } return e.getMessage(); } }
if (saa.getXid().getFormatId() == InboundBridge.XARESOURCE_FORMAT_ID) { uids.add(uid);
private boolean isInStore(Xid xid) { final RecoveryStore recoveryStore = StoreManager.getRecoveryStore(); final InputObjectState states = new InputObjectState(); try { if (recoveryStore.allObjUids(SubordinateAtomicAction.getType(), states) && states.notempty()) { boolean finished = false; do { final Uid uid = UidHelper.unpackFrom(states); if (uid.notEquals(Uid.nullUid())) { final SubordinateAtomicAction saa = new SubordinateAtomicAction(uid, true); if (saa.getXid().equals(xid)) { return true; } } else { finished = true; } } while (!finished); } } catch (ObjectStoreException e) { LOG.warn(e.getMessage(), e); } catch (IOException e) { LOG.warn(e.getMessage(), e); } return false; }
XidImple transactionXid = (XidImple) tx.getXid(); if (transactionXid.isSameTransaction(recoveredResourceXid) && recoveredResourceNodeName.equals(XATxConverter.getSubordinateNodeName(transactionXid.getXID()))) {
XidImple transactionXid = (XidImple) tx.getXid(); if (transactionXid != null && transactionXid.isSameTransaction(recoveredResourceXid)) { if (jtaLogger.logger.isDebugEnabled()) {
XidImple transactionXid = (XidImple) tx.getXid(); if (transactionXid != null && transactionXid.isSameTransaction(recoveredResourceXid)) { if (jtaLogger.logger.isDebugEnabled()) {
XidImple transactionXid = (XidImple) tx.getXid(); if (transactionXid != null && transactionXid.isSameTransaction(recoveredResourceXid)) { if (jtaLogger.logger.isDebugEnabled()) {