This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Okay all, please forgive me for the state of the code but it was a quickie plugin. Please point out to me any issues that you see or encounter in it.

I've got a few things about this plugin that I'd like some feedback on...

WikiEngine#

One instance per wiki right? Maybe some issues with use of static Maps with differing classloaders depending what lib the jar is placed in... fuzzy confuse thinking here on my part. I don't think I care about this right now, but if someone with a clue could tell me that all is well I'd appreciate it.

Startup#

There is an issue where if you bring your wiki down and restart it, the email notifier does not start until the page that the plugin is defined on is accessed. Anyone have any ideas on how to get it started automatically after a restart? I purposly made it tolerant of repeated and heavy execution so it could be defined on LeftMenu or LeftMenuFooter or the Main page.

Threading#

I think it's fairly well behaved but I'd like someone to glance over the handling of the NotifierThread and check my synchronization guards around the execution and parameter updating. Also I believe that the sleep interrput cycle as I have it coded is reasonbale but criticisms are welcome.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java
EmailNotifierPlugin.java 352.0 kB 2 03-Jan-2006 23:12 Dirk Frederickx
java
NotifierTask.java 17.6 kB 1 28-Feb-2004 17:53 StevenPozarycki
java
Subscriber.java 5.7 kB 1 28-Feb-2004 17:53 StevenPozarycki
txt
s88log.txt 2.7 kB 1 13-May-2003 04:50 202.145.144.6
« This particular version was published on 07-May-2003 17:25 by JohnVolkar.