|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public interface Auditable
Annotation to defined key and parameter names for the auditing API. If this annotation is present on a public service interface it will be considered for auditing. If it is not present the method will never be audited. Note that the service name and method name can be found from the bean definition and the method invocation.
Nested Class Summary | |
---|---|
static class |
Auditable.Key
|
Method Summary | |
---|---|
Auditable.Key |
key()
The position of the key argument in the method list. |
java.lang.String[] |
parameters()
The names of the parameters |
boolean[] |
recordable()
All method parameters are recorded by default. |
boolean |
recordReturnedObject()
Return object are recorded by default. |
boolean |
warn()
If a method as marked as warn, it is potentially an audit hole. |
Methods inherited from interface java.lang.annotation.Annotation |
---|
annotationType, equals, hashCode, toString |
Method Detail |
---|
Auditable.Key key()
java.lang.String[] parameters()
boolean warn()
boolean[] recordable()
boolean recordReturnedObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |