Wicket
  1. Wicket
  2. WICKET-5277

PropertiesFactory - customizable properties loading

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Michał Kozik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development