Package fr.gouv.vitam.common.alert
Class AlertServiceImpl
- java.lang.Object
-
- fr.gouv.vitam.common.alert.AlertServiceImpl
-
- All Implemented Interfaces:
AlertService
public class AlertServiceImpl extends java.lang.Object implements AlertService
Security alert service implementation. This service log the messages in a specific file using VitamLogger.
-
-
Constructor Summary
Constructors Constructor Description AlertServiceImpl()
AlertServiceImpl(VitamLogger lOGGER)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createAlert(VitamLogLevel level, java.lang.String message)
Create an alert with the specified message and levelvoid
createAlert(VitamLogLevel level, java.lang.String message, java.lang.Throwable cause)
/ Create an alert with the specified message, level au causevoid
createAlert(java.lang.String message)
Create an alert with the specified message and level INFO
-
-
-
Constructor Detail
-
AlertServiceImpl
public AlertServiceImpl()
-
AlertServiceImpl
public AlertServiceImpl(VitamLogger lOGGER)
-
-
Method Detail
-
createAlert
public void createAlert(VitamLogLevel level, java.lang.String message)
Description copied from interface:AlertService
Create an alert with the specified message and level- Specified by:
createAlert
in interfaceAlertService
-
createAlert
public void createAlert(VitamLogLevel level, java.lang.String message, java.lang.Throwable cause)
Description copied from interface:AlertService
/ Create an alert with the specified message, level au cause- Specified by:
createAlert
in interfaceAlertService
-
createAlert
public void createAlert(java.lang.String message)
Description copied from interface:AlertService
Create an alert with the specified message and level INFO- Specified by:
createAlert
in interfaceAlertService
-
-