Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2392

create an ArtifactFactory SPI

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • None
    • 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

              meyer Daniel Meyer
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: