public class DefaultActivityReporter extends Object implements ActivityReporter
| Constructor and Description |
|---|
DefaultActivityReporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
This method initializes the auditor.
|
void |
logError(String error)
This method can be used to report error information.
|
void |
logInfo(String info)
This method can be used to report general information.
|
void |
logWarning(String warning)
This method can be used to report warning information.
|
void |
report(ActivityType actType)
This method reports the activity event to the
collector.
|
void |
report(String type,
Map<String,String> props)
This method can be used to report activity information.
|
void |
setActivityCollector(ActivityCollector ac)
This method sets the activity collector.
|
protected void init()
public void setActivityCollector(ActivityCollector ac)
ac - The activity collectorpublic void logInfo(String info)
logInfo in interface ActivityReporterinfo - The informationpublic void logWarning(String warning)
logWarning in interface ActivityReporterwarning - The warning descriptionpublic void logError(String error)
logError in interface ActivityReportererror - The error descriptionpublic void report(String type, Map<String,String> props)
report in interface ActivityReportertype - The activity typeprops - The propertiespublic void report(ActivityType actType)
report in interface ActivityReporteractType - The activity typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.