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

Unify all metadata capable objects.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 9.0.0-M1
    • wicket
    • None

    Description

      Application, Session, RequestCycle, and Component all have #setMetadata and #getMetadata methods, but lack some super object to unify them all.
      These leads to annoying complex code if you wish to implement some extra functionality.

      I propose that we unify them all with one interface.
      I'veĀ attached a mock idea that would solve it, and I'll work on a prototype and submit a PR so anyone can take a look.

      I'll add a comment here with the PR number.

      Attachments

        1. mock.txt
          1.0 kB
          Jezza
        2. Test.java
          0.5 kB
          Jezza

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              Jezza Jezza
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: