xar = (XAResource) iterator.next(); if (!xar.isSameRM(xaRes)) { LogWriter writer = TransactionUtils.getLogWriter(); if (writer.severeEnabled())
public boolean isSameRM(XAResource other) throws XAException { if (other instanceof WrapperNamedXAResource) { return xaResource.isSameRM(((WrapperNamedXAResource)other).xaResource); } return false; }
public boolean isSameRM(XAResource arg0) throws XAException { if (this.delegate == null) { return false; } return delegate.isSameRM(arg0); }
public boolean isSameRM(XAResource other) throws XAException { if (other instanceof WrapperNamedXAResource) { return xaResource.isSameRM(((WrapperNamedXAResource)other).xaResource); } return false; }
public boolean isSameRM(XAResource other) throws XAException { if (other instanceof WrapperNamedXAResource) { return xaResource.isSameRM(((WrapperNamedXAResource)other).xaResource); } return false; }
public boolean isSameRM(XAResource other) throws XAException { if (other instanceof WrapperNamedXAResource) { return xaResource.isSameRM(((WrapperNamedXAResource)other).xaResource); } return false; }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (this == xaResource) { return true; } if (xaResource instanceof XAResourceImpl) { XAResourceImpl otherXaResource = (XAResourceImpl) xaResource; return groupName.equals(otherXaResource.groupName); } return xaResource.isSameRM(this); }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { if (this == xaResource) { return true; } if (xaResource instanceof XAResourceImpl) { XAResourceImpl otherXaResource = (XAResourceImpl) xaResource; return groupName.equals(otherXaResource.groupName); } return xaResource.isSameRM(this); }
public boolean isSameRM(XAResource other) throws XAException { Boolean overrideValue = ((XAManagedConnectionFactory) mcf).getIsSameRMOverrideValue(); if (overrideValue != null) { return overrideValue.booleanValue(); } // compare apples to apples return (other instanceof XAManagedConnection) ? xaResource.isSameRM(((XAManagedConnection) other).xaResource) : xaResource.isSameRM(other); }
public boolean isSameRM(XAResource xaRes) throws XAException { if (xaRes instanceof JmsXAResource) xaRes = ((JmsXAResource) xaRes).getUnderlyingXAResource(); return xaResource.isSameRM(xaRes); }
public boolean isSameRM(XAResource xaRes) throws XAException { if (xaRes instanceof JmsXAResource) xaRes = ((JmsXAResource) xaRes).getUnderlyingXAResource(); return xaResource.isSameRM(xaRes); }
/** * Delegates XAResource#isSameRM call to the connected JMS resource. * * @param xaResource * @return True if is same resource manager or false if not. * @throws XAException */ @Override public boolean isSameRM(XAResource xaResource) throws XAException { return connectionManager.connectAndApply(delegate -> delegate.isSameRM(xaResource)); }
/** * Delegates XAResource#isSameRM call to the connected JMS resource. * * @param xaResource * @return True if is same resource manager or false if not. * @throws XAException */ @Override public boolean isSameRM(XAResource xaResource) throws XAException { return connectionManager.connectAndApply(delegate -> delegate.isSameRM(xaResource)); }
@Override public boolean isSameRM(XAResource xaResource) throws XAException { return getResource().isSameRM(xaResource); }
public boolean isSameRM(XAResource arg0) throws XAException { try { return getPhysicalXAResource().isSameRM(arg0); } catch (XAException ex) { release(); throw ex; } }
public boolean isSameRM(XAResource xares) throws XAException { if (xares instanceof JCASessionHandle) { xares = ((JCASessionHandle) xares).getXAResource(); } return getXAResource().isSameRM(xares); }
public boolean isSameRM(XAResource xares) throws XAException { if (xares instanceof JCASessionHandle) { xares = ((JCASessionHandle) xares).getXAResource(); } return getXAResource().isSameRM(xares); }
public boolean isSameRM(XAResource arg0) throws XAException { try { return getPhysicalXAResource().isSameRM(arg0); } catch (XAException ex) { release(); throw ex; } }
public boolean isSameRM(XAResource xaResource) throws XAException { Profiler profiler = _profilerPoint.start(); try { return _xaResource.isSameRM(xaResource); } finally { profiler.finish(); } }
@Override public boolean isSameRM(XAResource xaRes) throws XAException { if (xaRes instanceof ActiveMQXAResourceWrapper) { xaRes = ((ActiveMQXAResourceWrapper) xaRes).getDelegate(false); } XAResource xaResource = getDelegate(false); try { return xaResource.isSameRM(xaRes); } catch (XAException e) { throw check(e); } }