Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-33

[configuration] Clarify ReloadingStrategy interface usage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Bugzilla Id:
      36665

      Description

      I had some trouble creating a ReloadingStrategy implementation (based on a JMX
      reload request) :
      reloadingRequired() is called several times AFTER first returning 'true' and
      before reloadingPerformed() is called. In fact, reloading process requires
      access to getProperty() that itself (re)enters reload. If reloadingRequired()
      doens't return false at this time, a infinite recursice loop starts.

      Perhaps it is a reload() bug, that may use a boolean flag to mark
      processing-reload and avoid such infinite loop in the Thread runing he reload.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ndeloof nicolas de loof
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: