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

create an ArtifactFactory SPI

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • None
    • engine

    Description

      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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce