Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-885

Add support for dependecy injection and RMI

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      As pivot application devoloper, I would like to have support for dependency injection in Pivot. My requirements are:

      • support for field injection (at least)
      • support for @PostConstruct methods
      • support for @RuntimeScoped classes - only one instance may be constructed during Runtime. Usefull when one needs share injected instances.
      • in relevant cases, inject dependencies also into namespace.

      I implemented prototype of this functionality, source codes including unit tests and sample application are included. The dependency injection is implemented in proposed org.apache.pivot.beans.injection package.

      Please consider adding this functionality in future Pivot release.

        Attachments

        1. extensions-sample.zip
          75 kB
          Karel Hübl
        2. pivot-extensions.zip
          198 kB
          Karel Hübl

          Activity

            People

            • Assignee:
              smartini Sandro Martini
              Reporter:
              kaja78 Karel Hübl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: