Interface AuditMetadataProvider
-
- All Known Implementing Classes:
DefaultAuditMetadataProvider
public interface AuditMetadataProvider
Providing meta information about the audit record that is e.g. used for populating the RFC 5424 header. A different provider may be configured for relays that have to preserve the original header information that may come from a different host.
-
-
Field Summary
Fields Modifier and Type Field Description static AuditMetadataProvider
DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static AuditMetadataProvider
getDefault()
String
getHostname()
String
getProcessID()
String
getSendingApplication()
String
getTimestamp()
void
setSendingApplication(String sendingApplication)
-
-
-
Field Detail
-
DEFAULT
static final AuditMetadataProvider DEFAULT
-
-
Method Detail
-
getTimestamp
String getTimestamp()
-
getHostname
String getHostname()
-
getProcessID
String getProcessID()
-
getSendingApplication
String getSendingApplication()
-
setSendingApplication
void setSendingApplication(String sendingApplication)
-
getDefault
static AuditMetadataProvider getDefault()
- Returns:
- the default metadata provider
-
-