THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
The ConfigurationProvider interface describes the framework's configuration. By default, the framework loads its configurations via an xml document by using the StrutsXmlConfigurationProvider
. The provider can be configured through a Dispatcher's Dispatcher Listener DispatcherListener.
Example
Code Block |
---|
static { Dispatcher.addDispatcherListener(new DispatcherListener() { .... public void dispatcherInitialized(Dispatcher du) { ConfigurationManager confManager = du.getConfigurationManager(); confManager.addConfigurationProvider( ... ); } .... }); } |