This page (revision-8) was last changed on 27-Jul-2017 14:45 by Dirk Frederickx 

This page was created on 08-Jan-2014 10:00 by Ichiro Furusato

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
8 27-Jul-2017 14:45 5 KB Dirk Frederickx to previous Category.D ==> Category.Documentation
7 16-Jul-2017 13:32 5 KB mingbai to previous | to last Category.Documentation ==> Category.D
6 12-Jan-2014 03:39 5 KB Ichiro Furusato to previous | to last added links
5 12-Jan-2014 00:41 5 KB Ichiro Furusato to previous | to last added link to PageManager
4 08-Jan-2014 11:06 5 KB Ichiro Furusato to previous | to last initial content copied from local version
3 08-Jan-2014 11:05 5 KB Ichiro Furusato to previous | to last initial content copied from local version
2 08-Jan-2014 10:06 5 KB Ichiro Furusato to previous | to last initial content copied from local version
1 08-Jan-2014 10:00 5 KB Ichiro Furusato to last initial content copied from local version

Difference between version and

At line 18 changed 5 lines
* WikiEvent : the abstract event base class (all WikiEvent types extend this class)
* WikiEventListener : the listener interface (just has one {{actionPerformed()}} method)
* WikiEventManager : the singleton event manager
* WikiEventUtils : a static utility class providing a filterable add listener method
* PageEventFilter : a filter that fires page events for various stages in the change to a wiki page
* [WikiEvent] : the abstract event base class (all WikiEvent types extend this class)
* [WikiEventListener] : the listener interface (just has one {{actionPerformed()}} method)
* [WikiEventManager] : the singleton event manager
* [WikiEventUtils] : a static utility class providing a filterable add listener method
* [PageEventFilter] : a filter that fires page events for various stages in the change to a wiki page
At line 31 changed 11 lines
| WikiEngineEvent | [WikiEngine] | INITIALIZING, INITIALIZED, SHUTDOWN, STOPPED | changes of state within the [WikiEngine]
| WikiPageEvent | WikiServletFilter | PAGE_REQUESTED, PAGE_DELIVERED | page delivery events
| WikiPageEvent | PageEventFilter | PRE_TRANSLATE, POST_TRANSLATE, PRE_SAVE, POST_SAVE | page state change events
| WikiPageEvent | FilterManager | PRE_TRANSLATE_BEGIN, PRE_TRANSLATE_END, POST_TRANSLATE_BEGIN, POST_TRANSLATE_END, PRE_SAVE_BEGIN, PRE_SAVE_END, POST_SAVE_BEGIN, POST_SAVE_END | page translate and save events
| WikiPageEvent | [PageManager] | PAGE_LOCK, PAGE_UNLOCK, PAGE_DELETE_REQUEST, PAGE_DELETED | page locking and deletion events
| WikiSecurityEvent | AuthenticationManager | LOGIN_INITIATED, LOGIN_ANONYMOUS, LOGIN_ASSERTED, LOGIN_AUTHENTICATED, LOGOUT, LOGIN_ACCOUNT_EXPIRED, LOGIN_CREDENTIAL_EXPIRED, LOGIN_FAILED | login & logout events
| WikiSecurityEvent | AuthorizationManager | ACCESS_ALLOWED, ACCESS_DENIED | access allowed or denied events
| WikiSecurityEvent | GroupManager | GROUP_ADD, GROUP_REMOVE | group add & remove events
| WikiSecurityEvent | SessionMonitor | SESSION_EXPIRED | session expired events
| WikiSecurityEvent | UserManager | PROFILE_SAVE | save profile events
| WorkflowEvent | Workflow | RUNNING, WAITING, COMPLETED, ABORTED | workflow events
| [WikiEngineEvent] | [WikiEngine] | INITIALIZING, INITIALIZED, SHUTDOWN, STOPPED | changes of state within the [WikiEngine]
| [WikiPageEvent] | WikiServletFilter | PAGE_REQUESTED, PAGE_DELIVERED | page delivery events
| [WikiPageEvent] | PageEventFilter | PRE_TRANSLATE, POST_TRANSLATE, PRE_SAVE, POST_SAVE | page state change events
| [WikiPageEvent] | FilterManager | PRE_TRANSLATE_BEGIN, PRE_TRANSLATE_END, POST_TRANSLATE_BEGIN, POST_TRANSLATE_END, PRE_SAVE_BEGIN, PRE_SAVE_END, POST_SAVE_BEGIN, POST_SAVE_END | page translate and save events
| [WikiPageEvent] | [PageManager] | PAGE_LOCK, PAGE_UNLOCK, PAGE_DELETE_REQUEST, PAGE_DELETED | page locking and deletion events
| [WikiSecurityEvent] | AuthenticationManager | LOGIN_INITIATED, LOGIN_ANONYMOUS, LOGIN_ASSERTED, LOGIN_AUTHENTICATED, LOGOUT, LOGIN_ACCOUNT_EXPIRED, LOGIN_CREDENTIAL_EXPIRED, LOGIN_FAILED | login & logout events
| [WikiSecurityEvent] | AuthorizationManager | ACCESS_ALLOWED, ACCESS_DENIED | access allowed or denied events
| [WikiSecurityEvent] | GroupManager | GROUP_ADD, GROUP_REMOVE | group add & remove events
| [WikiSecurityEvent] | SessionMonitor | SESSION_EXPIRED | session expired events
| [WikiSecurityEvent] | UserManager | PROFILE_SAVE | save profile events
| [WorkflowEvent] | Workflow | RUNNING, WAITING, COMPLETED, ABORTED | workflow events
At line 81 changed one line
Because we wanted to embed JSPWiki's WikiEngine in Ceryle (a standalone Java application), such that upon launching the application the WikiEngine would load if the Web server was running and inform Ceryle of its existence (we needed to do this so we could intercept the initialization sequence to modify various properties such as storage locations, etc.). This required adding event listeners to objects that didn't yet exist. The WikiEventManager is designed so that its event delegates can be attached to a Java class, so that the first time the class is instantiated the already-existing listener is attached to the new class. In this way we can listen for things as they start up.
Because we wanted to embed JSPWiki's [WikiEngine] in Ceryle (a standalone Java application), such that upon launching the application the [WikiEngine] would load if the Web server was running and inform Ceryle of its existence (we needed to do this so we could intercept the initialization sequence to modify various properties such as storage locations, etc.). This required adding event listeners to objects that didn't yet exist. The [WikiEventManager] is designed so that its event delegates can be attached to a Java class, so that the first time the class is instantiated the already-existing listener is attached to the new class. In this way we can listen for things as they start up.
At line 85 added one line
At line 87 changed one line
You can do this with any class if you expect one to be created and want to create a listener for it prior to its existence. [[If you're wondering what the {{listener}} in the example looks like, check out the WikiEventListener page.]
You can do this with any class if you expect one to be created and want to create a listener for it prior to its existence. [[If you're wondering what the {{listener}} in the example looks like, check out the [WikiEventListener] page.] — Murray Altheim