public class Demo
extends Object
purpose: show sample code for various features of Sulis' Event Service
operation: register this class as listener on any event. when the event occurs the methods prints the user and a stacktrace to the log file.
next it checks the existence of the following files and, if the file exists perfoms some extra actions, see code below.
register e.g.,
event = */wt.fc.PersistenceManagerEvent/POSTE_STORE
type = WTPart
method = ext.sulis.triggers.Demo:triggered
then start creating one of the files checked below and experiment!