@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (xaResource == null) { return false; } if (!(xaResource instanceof TransactionContext)) { return false; } TransactionContext xar = (TransactionContext)xaResource; try { return getResourceManagerId().equals(xar.getResourceManagerId()); } catch (Throwable e) { throw (XAException)new XAException("Could not get resource manager id.").initCause(e); } }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (xaResource == null) { return false; } if (!(xaResource instanceof TransactionContext)) { return false; } TransactionContext xar = (TransactionContext)xaResource; try { return getResourceManagerId().equals(xar.getResourceManagerId()); } catch (Throwable e) { throw (XAException)new XAException("Could not get resource manager id.").initCause(e); } }
public boolean isSameRM(XAResource xaResource) throws XAException { if (xaResource == null) { return false; } if (!(xaResource instanceof TransactionContext)) { return false; } TransactionContext xar = (TransactionContext)xaResource; try { return getResourceManagerId().equals(xar.getResourceManagerId()); } catch (Throwable e) { throw (XAException)new XAException("Could not get resource manager id.").initCause(e); } }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (xaResource == null) { return false; } if (!(xaResource instanceof TransactionContext)) { return false; } TransactionContext xar = (TransactionContext)xaResource; try { return getResourceManagerId().equals(xar.getResourceManagerId()); } catch (Throwable e) { throw (XAException)new XAException("Could not get resource manager id.").initCause(e); } }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (xaResource == null) { return false; } if (!(xaResource instanceof TransactionContext)) { return false; } TransactionContext xar = (TransactionContext)xaResource; try { return getResourceManagerId().equals(xar.getResourceManagerId()); } catch (Throwable e) { throw (XAException)new XAException("Could not get resource manager id.").initCause(e); } }