|
ViewController provides application level event callbacks for classes that
implement that interface, but it would also be useful to support init/destroy
callbacks into objects that are inserted into, or removed from, any of the
servlet API scopes (request, session, application). This can be accompished by
registerig a servlet listener that implements the servlet listener interfaces,
and triggers the appropriate callbacks. Exceptions from event handlers should
be handled consistently with the strategy devised for issue 38186.
|