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

Allow setting bpmnParseFactory in configuration

      Background
      Currently, the field bpmnParseFactory in ProcessEngineConfigurationImpl mark is protected, and there are no setters/getters. To specify my implementation of BpmnParseFactory, I need to create custom config ProcessEngineConfigurationImpl, but this is inconvenient.

      Given:
      A custom BpmnParseFactory implementation.

      When:
      An instance of the custom BpmnParseFactory needs to be set in the ProcessEngineConfigurationImpl

      Then:
      A custom config of ProcessEngineConfigurationImpl needs to be created.

      Expected:
      A Setter exists for the protected ProcessEngineConfigurationImpl.bpmnParseFactory property that allows replacing the factory through a plugin.

        This is the controller panel for Smart Panels app

            [CAM-12179] Allow setting bpmnParseFactory in configuration

            Pavel Pletnev created issue -
            Nikola Koevski made changes -
            Description Original: Currently field bpmnParseFactory in ProcessEngineConfigurationImpl mark is protecred and there are no setters/getters. And to specify my implementation of bpmnParseFactory I need to create custom config ProcessEngineConfigurationImpl, but this is inconvenient.
            Setter allows replacing factroty in plugin.
            You can add setter for bpmnParseFactory?
            New: *Background*
            Currently, the field {{bpmnParseFactory}} in {{ProcessEngineConfigurationImpl}} mark is {{protected}}, and there are no setters/getters. To specify my implementation of {{BpmnParseFactory}}, I need to create custom config ProcessEngineConfigurationImpl, but this is inconvenient.

            *Given:*
            A custom {{BpmnParseFactory}} implementation.

            *When:*
            An instance of the custom {{BpmnParseFactory}} needs to be set in the {{ProcessEngineConfigurationImpl}}

            *Then:*
            A custom config of {{ProcessEngineConfigurationImpl}} needs to be created.

            *Expected:*
            A Setter exists for the protected {{ProcessEngineConfigurationImpl.bpmnParseFactory}} property that allows replacing the factory through a plugin.
            Nikola Koevski made changes -
            Mentioned Roles
            Nikola Koevski made changes -
            Assignee New: Nikola Koevski [ nikola.koevski ]
            Nikola Koevski made changes -
            Mentioned Groups
            Nikola Koevski made changes -
            Mentioned Roles
            Nikola Koevski made changes -
            Mentioned Groups
            Nikola Koevski made changes -
            Mentioned Roles
            Nikola Koevski made changes -
            Mentioned Groups
            Nikola Koevski made changes -
            Status Original: Open [ 1 ] New: Ready [ 10005 ]
            Nikola Koevski made changes -
            Assignee Original: Nikola Koevski [ nikola.koevski ] New: Thorben Lindhauer [ thorben.lindhauer ]

              miklas.boskamp Miklas Boskamp
              bespaltovyj Pavel Pletnev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: