Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5277

PropertiesFactory - customizable properties loading

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.10.0, 7.0.0-M1
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            kozikm MichaƂ Kozik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: