From: Paul H. <pa...@ha...> - 2006-08-06 15:00:51
|
And could you also add method to ContextHandler ? public void addEventListener(EventListener eventListener) { ... } Cheers, - Paul On Aug 5, 2006, at 11:13 PM, Paul Hammant wrote: > In WebXmlConfiguration, can you change .. > > listener=listenerClass.newInstance(); > > to ... > > listener=newListenerInstance(listenerClass); > > with new method of ... > > protected Object newListenerInstance(Class clazz) > throws InstantiationException, IllegalAccessException { > return clazz.newInstance(); > } > > Sorry for not asking for these at the same time as the same change > for Servlet and Filter a couple of years ago :-) > > - Paul |