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

Remove ApplicationContextHolder from SpringComponentInjector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-RC1
    • 1.5-RC2
    • wicket-spring
    • None

    Description

      ApplicationContextHolder is a private inner class in o.a.w.spring.injection.annot.SpringComponentInjector class. It was designed to be used as a workaround to store the non serializable spring ApplicationContext in a serializable wrapper as Application metadata. But Application metadata does not need to be Serializable anymore so this boxing is not needed.

      Attachments

        1. WICKET-3393-fix.patch
          3 kB
          Attila Király

        Activity

          People

            pete Peter Ertl
            akiraly Attila Király
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: