Michał Kozik created WICKET-5277:
------------------------------------

             Summary: PropertiesFactory - customizable properties loading
                 Key: WICKET-5277
                 URL: https://issues.apache.org/jira/browse/WICKET-5277
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
            Reporter: Michał Kozik
            Priority: Minor


Default implementation of IPropertiesFactory is quite useful. But it would be a 
great improvement, for developers who extend this class, to make the loading of 
properties more customizable.
Now, for one little adaptation of algorithm (e.g. custom custom retrieving 
ValueMap from resourceStream, or making additional operation while adding to 
watcher), developer needs to essentially copy all 3 methods:
- load 
- loadFromLoader 
- addToWatcher
and adapt them.

If would be good idea, to make last 2 methods (laodFromLoader and addToWatcher) 
protected, instead of private.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to