create an ArtifactFactory SPI

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • Affects Version/s: None
    • Component/s: engine

      Currently all class: JavaDelegates will be created via Class.newInstance.
      But when using CDI or Spring we might use managed beans instead new instances.

      By introducing an AtrifactFactory SPI which has a method to getInstance and destroyInstance we can switch out the default behaviour for utilizing the BeanManager if someone uses the cdi-engine and the BeanFactory in the Spring specific implementation.

      Both impls might fall back to newInstance if there is no managed bean for this class.

        This is the controller panel for Smart Panels app

              Assignee:
              Daniel Meyer
              Reporter:
              Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: