public class ObjectCreationAuditActionResolver extends AbstractSuffixAwareAuditActionResolver
| Constructor and Description |
|---|
ObjectCreationAuditActionResolver(String successSuffix,
String failureSuffix)
Constructs the
ObjectCreationAuditActionResolver with a success suffix and failure
suffix. |
| Modifier and Type | Method and Description |
|---|---|
String |
resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
Exception exception,
Audit audit)
Resolve the action for the audit event that has incurred
an exception.
|
String |
resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
Object retval,
Audit audit)
Resolve the action for the audit event.
|
getFailureSuffix, getSuccessSuffixpublic ObjectCreationAuditActionResolver(String successSuffix, String failureSuffix)
ObjectCreationAuditActionResolver 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 String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, Object retval, Audit audit)
AuditActionResolverretval - The returned valueaudit - the Audit annotation that may contain additional information.public String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, Exception exception, Audit audit)
AuditActionResolverexception - The exception incurred when the join point proceeds.audit - the Audit annotation that may contain additional information.Copyright © 2007-2017 Apereo. All Rights Reserved.