|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuditDestination
A log destination can be used to print messages - typical examples are a file, System.out, a database, a GUI console, etc.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_PREFIX
The name of the System property that contains the name of the AuditMessageFormat class that is used to format messages sent to the file destination. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get a short description of this logging destination. |
java.util.List |
getPropertyNames()
Get names of all properties used for this destination. |
void |
initialize(java.util.Properties props)
Initialize this destination with the specified properties. |
void |
record(AuditMessage message)
Print the message to the log destination. |
void |
shutdown()
Shutdown the log destination and clean up resources. |
Field Detail |
---|
static final java.lang.String PROPERTY_PREFIX
DelimitedAuditMessageFormat
is used.
Method Detail |
---|
java.lang.String getDescription()
void initialize(java.util.Properties props) throws AuditDestinationInitFailedException
props
- the properties that this destination should use to initialize
itself.
AuditDestinationInitFailedException
- if there was an error during initialization.java.util.List getPropertyNames()
void record(AuditMessage message)
message
- The message to printvoid shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |