Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • How to get the database configuration? (it must be placed somewhere - not in the database)
  • Reading configurations from there will put an avoidable extra task on top of the DB
  • On database crashes, some services (that, today, do not use database at all), will also crash
  • Derived values aren't advisable (it would make many SQL queries to get a simple configuration value)

API Changes : New available methods

String ConfigurationManager.getString(String key, String default);
String ConfigurationManager.getString(String module, String key, String default);
List<String> ConfigurationManager.getList(String key);
List<String> ConfigurationManager.getList(String module, String key);

Core Changes : New possible features

It's now possible to easily set/add properties and save the respective files, also it's easy to access and modify the properties description.

The under development SpringUI and its associated features made us recognize that, changing the core ConfigurationManager, is an important change to make DSpace more user friendly in the future.

...