Issue Details (XML | Word | Printable)

Key: CONFIGURATION-349
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Oliver Heger
Reporter: Ralph Goers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Configuration

XMLConfigurationProvider cannot create a class that extends XMLConfiguration

Created: 10/Nov/08 08:27 AM   Updated: 22/Aug/09 07:36 PM
Return to search
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.6

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works extended.txt 2008-11-10 08:29 AM Ralph Goers 4 kB

Resolution Date: 11/Nov/08 09:25 PM


 Description  « Hide
XMLConfigurationProvider in DefaultConfigurationBuilder has default scope. When configuring a new ConfigurationProvider to use a class that extends XMLConfiguration an Exception is raised because the setConfigurationClass method cannot be called from the bean utility classes.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #713166 Tue Nov 11 21:02:37 UTC 2008 oheger CONFIGURATION-349: Changed visibility of DefaultConfigurationBuilder.XMLConfigurationProvider from package local to public to allow for better extensibility. Thanks to Ralph Goers for the patch.
Files Changed
ADD /commons/proper/configuration/trunk/conf/testExtendedXMLConfigurationProvider.xml
MODIFY /commons/proper/configuration/trunk/xdocs/changes.xml
MODIFY /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/DefaultConfigurationBuilder.java
MODIFY /commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestDefaultConfigurationBuilder.java