com.opensymphony.webwork.dispatcher
Interface ShutDownListener


public interface ShutDownListener

An interface to be implemented if require to get informed when WebWork shuts down, It's being hooked up through FilterDispatcher.destroy() -> DispatcherUtils.cleanup() methods calls.

It can be configured through webwork.properties that resides in the classpath, typically in /WEB-INF/classes directory through the following entry

 webwork.dispatcher.shutDownListener=foo.bar.ShutdownListener1, foo.bar.ShutdownListener2
 
The value of the properties is the FQN (Fully Quantified class name of the shut down listeners) It must implements this interface, else a ClassCastException will be registered in the log. Multiple class names could be specified, but they must be comma separated.

Version:
$Date$ $Id$
Author:
tmjee

Method Summary
 void shutdown()
           
 

Method Detail

shutdown

void shutdown()

WebWork Project Page