It is invoked in the servlet thread (and before {@link #init}). Thus, you can NOT manipulate the deskop in this method.
If this method throws an exception, it will abort the execution and shows an error message to the end user. Note: {@link EventThreadCleanup#cleanup} won't be called if anexception is thrown in this method, since it executes in the main thread.
In addition to throwing an exception, you can prevent an event from processing by returning false in {@link #init}. The event is ignored 'silently' then.
|
|