@Test public void getLabel_withNoTxName() { Operation op = new Operation(); finalize(op); assertEquals("Transaction", op.getLabel()); }
public void finalize(Operation operation, Map<String, Object> richObjects) { String level = normalizeIsolation(operation); if (level != null) { operation.put("isolation", level); } String propagation = normalizePropagation(operation); if (propagation != null) { operation.put("propagation", propagation); } operation.label(buildLabel(operation)); }
TransactionOperationFinalizer implements OperationFinalizer { public void finalize(Operation operation, Map<String, Object> richObjects) { String level = normalizeIsolation(operation); if (level != null) { operation.put("isolation", level); } String propagation = normalizePropagation(operation); if (propagation != null) { operation.put("propagation", propagation); } operation.label(buildLabel(operation)); } }
TransactionOperationFinalizer implements OperationFinalizer { public void finalize(Operation operation, Map<String, Object> richObjects) { String level = normalizeIsolation(operation); if (level != null) { operation.put("isolation", level); } String propagation = normalizePropagation(operation); if (propagation != null) { operation.put("propagation", propagation); } operation.label(buildLabel(operation)); }  }
TransactionOperationFinalizer implements OperationFinalizer { public void finalize(Operation operation, Map<String, Object> richObjects) { String level = normalizeIsolation(operation); if (level != null) { operation.put("isolation", level); } String propagation = normalizePropagation(operation); if (propagation != null) { operation.put("propagation", propagation); } operation.label(buildLabel(operation)); }  static void register(Operation operation); void finalize(Operation operation, Map<String, Object> richObjects); }
TransactionOperationFinalizer implements OperationFinalizer { public void finalize(Operation operation, Map<String, Object> richObjects) { String level = normalizeIsolation(operation); if (level != null) { operation.put("isolation", level); } String propagation = normalizePropagation(operation); if (propagation != null) { operation.put("propagation", propagation); } operation.label(buildLabel(operation)); }  static void register(Operation operation); void finalize(Operation operation, Map<String, Object> richObjects);  }