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

In Quarkus, @BusinessProcessScoped beans can be destroyed programmatically

    • Icon: Feature Request Feature Request
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • quarkus
    • None

      User Story (Required on creation):

      As a user of the Quarkus Engine Extension, I can destroy @BusinessProcessScoped beans programmatically.

      Functional Requirements (Required before implementation):

      The following API methods work and don't throw UnsupportedOperationException:

      javax.enterprise.inject.Instance#destroy
      io.quarkus.arc.InjectableContext#getState
      io.quarkus.arc.InjectableContext#destroy
      io.quarkus.arc.InjectableContext#destroy(Contextual<?> contextual)
      

      Technical Requirements (Required before implementation):

      The missing methods in InjectableBusinessProcessContext are implemented:

      #getState
      #destroy
      #destroy(Contextual<?> contextual)
      

      Limitations of Scope (Optional):

      Hints (Optional):

        This is the controller panel for Smart Panels app

            [CAM-13755] In Quarkus, @BusinessProcessScoped beans can be destroyed programmatically

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Link New: This issue is related to CAM-13754 [ CAM-13754 ]
            Nikola Koevski made changes -
            Link New: This issue is related to CAM-13630 [ CAM-13630 ]
            Nikola Koevski made changes -
            Issue Type Original: Sub-task [ 6 ] New: Feature Request [ 2 ]
            Parent Original: CAM-13630 [ 63755 ]
            Nikola Koevski made changes -
            Epic Link New: CAM-13628 [ 63750 ]
            Nikola Koevski made changes -
            Summary Original: [OPTIONAL] @BusinessProcessScoped beans can be destroyed programmatically New: @BusinessProcessScoped beans can be destroyed programmatically
            Nikola Koevski made changes -
            Epic Link Original: CAM-13628 [ 63750 ]
            Nikola Koevski made changes -
            Component/s New: engine [ 11656 ]
            Nikola Koevski made changes -
            Component/s New: quarkus [ 15363 ]
            Component/s Original: engine [ 11656 ]
            Tassilo Weidner made changes -
            Summary Original: @BusinessProcessScoped beans can be destroyed programmatically New: In Quarkus, @BusinessProcessScoped beans can be destroyed programmatically
            Tassilo Weidner made changes -
            Description Original: h4. AT

            @BusinessProcessScoped beans can be destroyed programmatically

            h4. Technical Requirements

            Implement the API methods declared by {{InjectableContext}}.
            New: h4. User Story (Required on creation):

            As a user of the Quarkus Engine Extension, I can destroy {{@BusinessProcessScoped}} beans programmatically.


            h4. Functional Requirements (Required before implementation):

            The following API methods work and don't throw {{UnsupportedOperationException}}:
            {code:java}
            javax.enterprise.inject.Instance#destroy
            io.quarkus.arc.InjectableContext#getState
            io.quarkus.arc.InjectableContext#destroy
            io.quarkus.arc.InjectableContext#destroy(Contextual<?> contextual)
            {code}

            h4. Technical Requirements (Required before implementation):

            The missing methods in {{InjectableBusinessProcessContext}} are implemented:
            {code:java}
            #getState
            #destroy
            #destroy(Contextual<?> contextual)
            {code}

            h4. Limitations of Scope (Optional):


            h4. Hints (Optional):

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: