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
Configurable
configure
in interface Configurable
javax.servlet.ServletException
public void configure(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
Configurable
configure
in interface Configurable
javax.servlet.ServletException
public void configure(java.lang.String namePrefix, java.util.Properties config)
Configurable
configure
in interface Configurable
public void notify(java.lang.String subject, java.lang.String message)
Notifier
public boolean supportsHtml()
Notifier
supportsHtml
in interface Notifier
public boolean supportsSMS()
Notifier
supportsSMS
in interface Notifier
Copyright © 2015 The Admin4J Project. All Rights Reserved.