Interface AuditActionResolver

All Known Implementing Classes:
AbstractSuffixAwareAuditActionResolver, BooleanAuditActionResolver, DefaultAuditActionResolver, ObjectCreationAuditActionResolver

public interface AuditActionResolver
An 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

    Modifier and Type
    Method
    Description
    resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, Exception exception, Audit audit)
    Resolve the action for the audit event that has incurred an exception.
    resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, Object retval, Audit audit)
    Resolve the action for the audit event.
  • Method Details

    • resolveFrom

      String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, Object retval, Audit audit)
      Resolve the action for the audit event.
      Parameters:
      auditableTarget -
      retval - The returned value
      audit - the Audit annotation that may contain additional information.
      Returns:
      The resource String
    • resolveFrom

      String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, 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