MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-207

implicit sub-groups for conversation groups

    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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gerhard Petracek
            Reporter:
            Gerhard Petracek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development