Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4329

Support ConfigurationManagerListener

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5.x
    • Component/s: Core Actions
    • Labels:
      None

      Description

      I wanted to run some validation checks on the actions after they were loaded. I could do it at startup by creating a DispatcherListener. However, in development, if the Configuration reloads in devMode, I have no way to know that and rerun my validation. It would be great to just mimic the DispatcherListener pattern for the ConfigurationManager so one could register ConfigurationManagerListeners for when the configuration is loaded/reload.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              perfnorm Jasper Rosenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: