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

[configuration] Clarify ReloadingStrategy interface usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: