com.opensymphony.webwork.dispatcher
Interface StartUpListener


public interface StartUpListener

An interface to be implemented if require to get informed when WebWork starts up, It's being hooked up through FilterDispatcher.init(javax.servlet.FilterConfig) -> DispatcherUtils.init(javax.servlet.ServletContext) 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.startUpListener=foo.bar.StartupListener1, foo.bar.StartupListener2
 
The value of the properties is the FQN (Fully Quantified class name of the start up 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 startup()
           
 

Method Detail

startup

void startup()

WebWork Project Page