|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataExtractor
Interface for Audit data value extractors. These are used to extract auditable values from those arguments, return values, exceptions and any other value passed into the audit components for recording.
The framework will first determine if data passed into the instance issupported
and will then pass it in for conversion
to the type that will be
recorded.
Method Summary | |
---|---|
java.io.Serializable |
extractData(java.io.Serializable value)
Convert an value passed into the audit components into a value to be recorded. |
boolean |
isSupported(java.io.Serializable data)
Determines if the extractor will be able to pull any data from the given value. |
Method Detail |
---|
boolean isSupported(java.io.Serializable data)
data
- the data that might be useful to this extractor (could be null)
java.io.Serializable extractData(java.io.Serializable value) throws java.lang.Throwable
value
- the source data
java.lang.Throwable
- All errors will be handled by the calling framework
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |