Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0-core
-
None
-
All
Description
The Trinidad framework currently uses servlet context initialization parameter values specified in the web.xml file for supplying configuration parameters to the runtime. In some applications and environments it is desirable to be able to supply configuration parameters from other sources (e.g a database table, MBean, etc.). This enhancement proposes to create an interface abstraction for fetching configuration parameter values along with a plugable framework for configuration value providers. This will allow applications to plug in their own value providers that fetch values from different sources. A default value provider that fetches servlet context initialization parameter values that preserves existing behavior will also be provided.