/** * Return an identifying description for this transaction attribute. * <p>Available to subclasses, for inclusion in their {@code toString()} result. */ protected final StringBuilder getAttributeDescription() { StringBuilder result = getDefinitionDescription(); if (StringUtils.hasText(this.qualifier)) { result.append("; '").append(this.qualifier).append("'"); } return result; }
/** * Return an identifying description for this transaction attribute. * <p>Available to subclasses, for inclusion in their {@code toString()} result. */ protected final StringBuilder getAttributeDescription() { StringBuilder result = getDefinitionDescription(); if (StringUtils.hasText(this.qualifier)) { result.append("; '").append(this.qualifier).append("'"); } return result; }
/** * Return an identifying description for this transaction attribute. * <p>Available to subclasses, for inclusion in their {@code toString()} result. */ protected final StringBuilder getAttributeDescription() { StringBuilder result = getDefinitionDescription(); if (StringUtils.hasText(this.qualifier)) { result.append("; '").append(this.qualifier).append("'"); } return result; }
/** * Return a description of this transaction attribute. * The format matches the one used by TransactionAttributeEditor, * to be able to feed toString results into TransactionAttribute properties. * @see org.springframework.transaction.interceptor.TransactionAttributeEditor */ public String toString() { StringBuffer result = getDefinitionDescription(); result.append(','); result.append(ROLLBACK_RULE_PREFIX + "RuntimeException"); return result.toString(); }
/** * Return an identifying description for this transaction attribute. * <p>Available to subclasses, for inclusion in their {@code toString()} result. */ protected final StringBuilder getAttributeDescription() { StringBuilder result = getDefinitionDescription(); if (StringUtils.hasText(this.qualifier)) { result.append("; '").append(this.qualifier).append("'"); } return result; }