Configuration Provider & Configuration

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

The ConfigurationProvider interface describes the framework's configuration. By default, the framework loads its configurations via an xml XML document by using the StrutsXmlConfigurationProvider. The provider can be configured through a Dispatcher's DispatcherListener.

...

Code Block
 static {
   Dispatcher.addDispatcherListener(new DispatcherListener() {
     ....
     public void dispatcherInitialized(Dispatcher du) {
         ConfigurationManager confManager = du.getConfigurationManager();
         confManager.addConfigurationProvider( ... );
     }
     ....
   });
 }

Back

...

To:

...

Architects Guide