private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
private void addDeferredThrowables(AbstractRecord record, List<Throwable> throwables) { if (record instanceof ExceptionDeferrer) ((ExceptionDeferrer) record).getDeferredThrowables(throwables); else if (record.value() instanceof ExceptionDeferrer) ((ExceptionDeferrer) record.value()).getDeferredThrowables(throwables); }
public boolean activate() { boolean ok = super.activate(); className = rec.getClass().getName(); if (rec instanceof XAResourceRecord) { XAResourceRecord xarec = (XAResourceRecord) rec; eisProductName = xarec.getProductName(); eisProductVersion = xarec.getProductVersion(); jndiName = xarec.getJndiName(); } if (rec.value() != null) { XAResource xar = (XAResource) rec.value(); className = xar.getClass().getName(); try { timeout = xar.getTransactionTimeout(); } catch (Exception e) { } } return ok; }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
public boolean activate() { boolean ok = super.activate(); XAResource xares = (XAResource) rec.value(); className = rec.getClass().getName(); if (rec instanceof XAResourceRecord) { XAResourceRecord xarec = (XAResourceRecord) rec; eisProductName = xarec.getProductName(); eisProductVersion = xarec.getProductVersion(); jndiName = xarec.getJndiName(); } if (xares != null) { className = xares.getClass().getName(); try { timeout = xares.getTransactionTimeout(); } catch (Exception e) { } } return ok; }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }
@Override public String getHeuristicStatus() { Object heuristicInformation = rec.value(); HeuristicStatus hs; if (heuristicInformation != null && heuristicInformation instanceof HeuristicInformation) { HeuristicInformation hi = (HeuristicInformation) heuristicInformation; hs = HeuristicStatus.intToStatus(hi.getHeuristicType()); } else { hs = HeuristicStatus.UNKNOWN; } return hs.name(); }