public class DefaultAuditActionResolver extends AbstractSuffixAwareAuditActionResolver
| Constructor and Description |
|---|
DefaultAuditActionResolver()
Constructs the resolver with empty values for the two suffixes.
|
DefaultAuditActionResolver(java.lang.String successSuffix,
java.lang.String failureSuffix)
Constructs the
DefaultAuditActionResolver with a success suffix and failure
suffix. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
java.lang.Exception exception,
Audit audit)
Resolve the action for the audit event that has incurred
an exception.
|
java.lang.String |
resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
java.lang.Object retval,
Audit audit)
Resolve the action for the audit event.
|
getFailureSuffix, getSuccessSuffixpublic DefaultAuditActionResolver()
public DefaultAuditActionResolver(java.lang.String successSuffix,
java.lang.String failureSuffix)
DefaultAuditActionResolver with a success suffix and failure
suffix. CANNOT be NULL.successSuffix - the suffix to use in the event of a success.failureSuffix - the suffix to use in the event of a failure.public java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
java.lang.Object retval,
Audit audit)
AuditActionResolverretval - The returned valueaudit - the Audit annotation that may contain additional information.public java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
java.lang.Exception exception,
Audit audit)
AuditActionResolverexception - The exception incurred when the join point proceeds.audit - the Audit annotation that may contain additional information.Copyright © 2007-2021 Apereo. All Rights Reserved.