History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1464
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: tm_jee
Reporter: tm_jee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

Provides callback that gets informed when WebWork started up and shuts down

Created: 11/Jun/07 09:44 AM   Updated: 21/Jul/07 10:09 PM
Component/s: Configuration, Dispatch
Affects Version/s: 2.2.5
Fix Version/s: 2.2.6

Issue Links:
Related
This issue relates to:
WW-1467 Startup listener throws NPE when Obje... Major Resolved
 


 Description  « Hide
Provides callback that gets informed when WebWork started up and shuts down

Maybe something like, in webwork.properties, we would be able to define
webwork.dispatcher.startUpListener=foo.bar.StartUpListener1, foo.bar.StartUpListener2
webwork.dispatcher.shutDownListener=foo.bar.ShutDownListener1, foo.bar.ShutDownListener2

where listeners will get invoked when WebWork started up or shutsdown.

it's basically called during DispatcherUtil's init and DispatcherUtil's cleanup which is hooked on to WW's FilterDispatcher's init() and destroy()


 All   Comments   Change History      Sort Order:
tm_jee - [11/Jun/07 09:56 AM ]
done. Details are at:-
tmjee@tmjee-laptop:~/development/webwork-svn/src$ svn commit java/com/opensymphony/webwork/default.properties java/com/opensymphony/webwork/dispatcher/StartUpListener.java java/com/opensymphony/webwork/dispatcher/ShutDownListener.java java/com/opensymphony/webwork/dispatcher/DispatcherUtils.java java/com/opensymphony/webwork/WebWorkConstants.java
Sending java/com/opensymphony/webwork/WebWorkConstants.java
Sending java/com/opensymphony/webwork/default.properties
Sending java/com/opensymphony/webwork/dispatcher/DispatcherUtils.java
Adding java/com/opensymphony/webwork/dispatcher/ShutDownListener.java
Adding java/com/opensymphony/webwork/dispatcher/StartUpListener.java
Transmitting file data .....
Committed revision 2920.

Please do review it cheers.

tm_jee - [11/Jun/07 10:48 AM ]