Annotation Type Audit
-
@Retention(RUNTIME) @Target(METHOD) public @interface AuditStates that this method should be logged for auditing purposes.- Since:
- 1.0
- Author:
- Alice Leung, Dmitriy Kopylenko, Scott Battaglia
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringactionThe action to write to the log when we audit this method.java.lang.StringactionResolverNameReference name of the action resolver to use.java.lang.StringresourceResolverNameReference name of the resource resolver to use.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringapplicationCodeIdentifier for this particular application in the audit trail logs.java.lang.StringprincipalResolverNameReference name of the principal resolver to use.
-
-
-
-
applicationCode
java.lang.String applicationCode
Identifier for this particular application in the audit trail logs. This attribute should only be used to override the basic application code when you want to differentiate a section of the code.- Returns:
- the application code or an empty String if none is set.
- Default:
- ""
-
-