Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2481

CDI&Transaction MixIn participant shouldn't be a MixInDependencies

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      CDIMixIn and TransactionMixIn has its participant interface and looking for the mixin implements that interface from @MixInDependencies. But since we can retrieve a list of mixins from testkit, participant class doesn't have to use @MixInDependencies as it's a bit verbose, all it has to do is just iterate all the mixins and test if it implements participant interface. Plus although TransactionMixIn implements CDIMixInParticipant, as CDIMixIn doesn't have TransactionMixIn in its @MixInDependencies/optional right now, TransactionMixIn#participate() is never invoked. That will also be solved by removing @MixInDependencies usage from this participant stuff.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igarashitm tomohisa igarashi
                  Reporter:
                  igarashitm tomohisa igarashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: