org.activemath.author
Class MailingLoginNotifier
java.lang.Object
org.activemath.author.MailingLoginNotifier
- All Implemented Interfaces:
- EventListener, ActivemathEventListener
public class MailingLoginNotifier
- extends Object
- implements ActivemathEventListener
A kind of independent service which listens to login-events
and sends a mail on login and logout time.
A configuration as follows would be appropriate:
MailingLoginNotifier.recipient = me@me.com # emails-recipients
MailingLoginNotifier.sender = activemath-for-me@me.com # From of mails
MailingLoginNotifier.smtpServer = mail.here.info # SMTP server through which mails will be sent
MailingLoginNotifier.excludedUserNames = marguerite, donald, Eva, Anton # comma-separated list of user-names
# for which a mail will not be sent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVS_ID
public static final String CVS_ID
- See Also:
- Constant Field Values
MailingLoginNotifier
public MailingLoginNotifier(Subconfiguration config)
onActivemathEvent
public void onActivemathEvent(ActivemathEvent event)
- Description copied from interface:
ActivemathEventListener
- Handle an Activemath event.
This method must return as quickly as possible
and must not block the calling thread for long.
- Specified by:
onActivemathEvent in interface ActivemathEventListener
- Parameters:
event - the event to respond to