The Commons Configuration software library provides a generic
configuration interface which enables a Java application to read
configuration data from a variety of sources. Commons Configuration
provides typed access to single, and multi-valued configuration
parameters as demonstrated by the following code:
Double double = config.getDouble("number");
Integer integer = config.getInteger("number");
Configuration parameters may be loaded from the following sources:
- Properties files
- XML documents
- Windows INI files
- Property list files (plist)
- JNDI
- JDBC Datasource
- System properties
- Applet parameters
- Servlet parameters
Configuration objects are created using configuration builders.
Different configuration sources can be mixed using a
CombinedConfigurationBuilder and a CombinedConfiguration. Additional
sources of configuration parameters can be created by using custom
configuration objects. This customization can be achieved by extending
AbstractConfiguration or AbstractHierarchicalConfiguration.
%javadoc_package
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jul 16 2024 Jerry James <loganjerry@gmail.com> - 2.11.0-2
- Minor spec file simplifications
* Mon Jun 10 2024 Jerry James <loganjerry@gmail.com> - 2.11.0-1
- Version 2.11.0
- Drop dependency on snakeyaml
* Thu Mar 21 2024 Jerry James <loganjerry@gmail.com> - 2.10.1-1
- Version 2.10.1 (CVE-2024-29131, CVE-2024-29133)
* Wed Mar 13 2024 Jerry James <loganjerry@gmail.com> - 2.10.0-1
- Version 2.10.0
* Wed Jan 31 2024 Jerry James <loganjerry@gmail.com> - 2.9.0-6
- Port to apache-commons-parent 65
- Remove cruft from the jakarta-servlet 5 patch
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 12 2024 Jerry James <loganjerry@gmail.com> - 2.9.0-3
- Fix the jexl3 patch to create a JexlEngine correctly
- Add patch to adapt to jakarta-servlet 5
- Enable (some of) the tests
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 19 2023 Tomas Hrcka <thrcka@redhat.com> - 1.10-19
- Unretirement request: https://pagure.io/releng/issue/11550