public class LogNotifier extends java.lang.Object implements Notifier
| Constructor and Description |
|---|
LogNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(javax.servlet.FilterConfig config)
Will configure the Notifier directly from a Servlet Filter configuration.
|
void |
configure(javax.servlet.ServletConfig config)
Will configure the Notifier directly from a Servlet configuration.
|
void |
configure(java.lang.String namePrefix,
java.util.Properties config)
Will configure the Notifier from a properties configufation
|
void |
notify(java.lang.String subject,
java.lang.String message)
Will perfom a notification.
|
boolean |
supportsHtml()
Indicates if this notifier supports HTML-formatted messages.
|
boolean |
supportsSMS()
Indicates if this notifier support SMS, which usually infers a restricted
message size.
|
public void configure(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
Configurableconfigure in interface Configurablejavax.servlet.ServletExceptionpublic void configure(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
Configurableconfigure in interface Configurablejavax.servlet.ServletExceptionpublic void configure(java.lang.String namePrefix,
java.util.Properties config)
Configurableconfigure in interface Configurablepublic void notify(java.lang.String subject,
java.lang.String message)
Notifierpublic boolean supportsHtml()
NotifiersupportsHtml in interface Notifierpublic boolean supportsSMS()
NotifiersupportsSMS in interface NotifierCopyright © 2015 The Admin4J Project. All Rights Reserved.