org.inspektr.audit.spi
Interface AuditableActionResolver

All Known Implementing Classes:
BooleanAuditableActionResolver, DefaultAuditableActionResolver, ObjectCreationAuditableActionResolver

public interface AuditableActionResolver

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
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Method Summary
 java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, java.lang.Exception exception, Auditable auditable)
          Resolve the action for the auditable event that has incurred an exception.
 java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget, java.lang.Object retval, Auditable auditable)
          Resolve the action for the auditable event.
 

Method Detail

resolveFrom

java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
                             java.lang.Object retval,
                             Auditable auditable)
Resolve the action for the auditable event.

Parameters:
auditableTarget -
retval - The returned value
auditable - the Auditable annotation that may contain additional information.
Returns:
The resource String

resolveFrom

java.lang.String resolveFrom(org.aspectj.lang.JoinPoint auditableTarget,
                             java.lang.Exception exception,
                             Auditable auditable)
Resolve the action for the auditable event that has incurred an exception.

Parameters:
auditableTarget -
exception - The exception incurred when the join point proceeds.
auditable - the Auditable annotation that may contain additional information.
Returns:
The resource String


Copyright © 2007-2009. All Rights Reserved.