Package org.apereo.inspektr.audit.spi
Interface AuditActionResolver
-
- All Known Implementing Classes:
AbstractSuffixAwareAuditActionResolver,BooleanAuditActionResolver,DefaultAuditActionResolver,ObjectCreationAuditActionResolver
public interface AuditActionResolverAn SPI interface needed to be implemented by individual applications requiring an audit trail record keeping functionality, to provide the action taken.- Since:
- 1.0
- Author:
- Scott Battaglia
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringresolveFrom(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.StringresolveFrom(org.aspectj.lang.JoinPoint auditableTarget, java.lang.Object retval, Audit audit)Resolve the action for the audit event.
-
-
-
Method Detail
-
resolveFrom
java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, java.lang.Object retval, Audit audit)Resolve the action for the audit event.- Parameters:
auditableTarget-retval- The returned valueaudit- the Audit annotation that may contain additional information.- Returns:
- The resource String
-
resolveFrom
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.- Parameters:
auditableTarget-exception- The exception incurred when the join point proceeds.audit- the Audit annotation that may contain additional information.- Returns:
- The resource String
-
-