Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-207

implicit sub-groups for conversation groups

    XMLWordPrintableJSON

Details

    Description

      we can also support implicit groups - e.g.:

      public class MyGroup{}

      @ConversationScoped
      @ConversationGroup(MyGroup.class)
      public class BeanA implements WizardA {}

      @ConversationScoped
      @ConversationGroup(MyGroup.class)
      public class BeanB implements WizardA {}

      @ConversationScoped
      @ConversationGroup(MyGroup.class)
      public class BeanC implements WizardB {}

      @ConversationSubGroup(subGroup = WizardA.class)
      public class MySubGroup extends MyGroup {}

      //...
      this.windowContext.closeConversation(MySubGroup.class)
      //...

      since it isn't required to list all beans manually, it's easy and more expressive to create logical groups.

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: