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

Add an "Event Handler" API to JSPWiki#

There are 3 basic types of events on a Wiki page:

  • Create A new page has been created.
  • Read Someone entered a page
  • Modify someone edited a page.

The idea is that when one of these happens, a list of "event handlers" get invoked. An event handler is a class that implements a perticular interface (just like AWT event handlers). The engine passes an event object containing all there is to know about the event.

Now, where do these handlers come from? Well, they are listed in a file. So, a site manager can define her own handlers, put them under WEB-INF/classes, and add them to the list.

Using this, anyone can contribute implementations for email notification, statistics, content verification (e.g. - scan for viruses) etc.

We could also consider other events, like:

  • User Events
    • new user
    • user loged in
    • user loged out
  • Comment events
    • comment added
    • etc.
  • etc.

- YishayMor

Yes, I was thinking about something like this, but not so general. See PageFilters for more discussion.

-- JanneJalkanen tyra banks nude movie twins movie wav quote twillight zone movie accident tv movie the haunted turkey creek movie theater tukwila movie tucson movie listing tuck everlasting movie soundtrack lyrics troy movie soundtrack midi trippin the movie triple x movie trina michaels movie gallery trick movie bittorrent tribulation movie traverse city movie theatre travels with my aunt movie trantastic movie transporter2 the movie transporter1 movie transporter movie bmw transgender movie transformers live action movie script trama movie trailers cars the movie trading places movie poster toysrus toys for cars movie toy story movie to watch on computers total movie dvd cover total impact the movie torture movie tortilla curtain movie toronto ontario movie theatres near pearson airport tori spelling scary movie thumbnails top umd movie top classic movie tongue in cheek movie tompson submachine gun movie tomb raider movie tom welling in superman movie tokyo japan movie theaters kingkong today s movie showtimes to make consorted movie to uncensored to kill a mockingbird movie images title tara o conner movie titanic movie script titanic movie credits timber drive movie tilton movie theater listings in northfield nj tickets for the 2006 mtv movie awards thursday movie times for the davinci code thumbsuckers the movie thre3e movie thorugh the fire movie thomas beckett movie thomas becket movie this time with feeling kentucky fried movie things on a movie set things fall apart movie they were expendable 1948 movie thesimpsons movie trailer themes from the gladiator movie theatrical movie releases theater movie somerville ma the yellow submarine movie torrents the woodsman movie the wild yahoo movie the wedding crashers movie the war lover movie the unseen movie the underworld vergil movie the transformers the movie the terminator uk movie dvd the termanator uk movie dvd the stranger albert camus movie the spongebob squarepants movie for gba cheats the spongebob squarepants movie big action the soundtrack for the movie without a paddle the songs in the movie school of rock the snow queen movie the secret movie film the rock scorpion king movie actor the rave movie theatre the proposition yahoo movie the price is right movie the postman movie the poseidon adventure tv movie the pirate xrated movie the pinballs movie the phantom of the opera official movie web site the phantom of the opera 2004 movie clip the pact lifetime movie the other me movie the omen the movie the notebook movie script the notebook movie release the new world movie summary the new movie of phantham of the opera the new connan movie the never ending story movie the negotiator the movie the natural movie script the music for thorugh the fire movie the movie with mike douglas the sentinel review the movie trailer for unforgiven the movie the tomb the movie the shaggy dog the movie stripes lines lighten up the movie stripes lines frances the movie store the movie note book the movie mother knows best the movie mandela and de klerk the movie lost the movie holes the movie haunted the movie hard candy the movie go ask alice the movie freedomland the movie foreclosure blvd the movie entitled the idol maker the movie counter the mother movie the matrix script for the movie the mask movie knee the lord of the rings first movie the librarian movie the libertine movie the league of extraordinary gentleman the movie the last unicorn movie the last boy scout movie the land that time forgot movie torrent the lake house the movie the lake house movie commercial the kangaroo song movie big daddy the jig is up movie quotes the impact of movie in the society the hitchiker the movie the hidden secret in disney movie the hefferlump movie the grossest movie ever the grinch movie script the good shepherd movie the gong show movie the fugitive movie characters the first drive in movie the fan movie the elf movie the doberment gang movie the demented cartoon movie 2 the da vinci code compare between movie and book the crying game movie fanfics the christmas shoes movie the choir french movie the champ movie reviews the canbin on the lake movie the camera angls of transporter2 the movie the butterfly effect movie music the bridge philadelphia movie theater the bridge movie theatre philadephia the bridge movie theaters in university city philadelphia pa the break up movie cast the bollywood movie the blue angel movie the big sleep a b grade movie the ball is back movie

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 17-Jul-2006 13:10 by