myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Extensions/CDI/DevDoc/Conversations" by GerhardPetracek
Date Mon, 12 Jul 2010 21:19:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The "Extensions/CDI/DevDoc/Conversations" page has been changed by GerhardPetracek.
http://wiki.apache.org/myfaces/Extensions/CDI/DevDoc/Conversations?action=diff&rev1=4&rev2=5

--------------------------------------------------

      Conversation endConversation(Class conversationGroup, Annotation... qualifiers);
  
      /**
+      * destroys all conversation of a group independent of the qualifiers
+      * @param conversationGroup group of the conversation in question
+      * @return the removed conversation - null otherwise
+      */
+     Set<Conversation> endConversations(Class conversationGroup);
+ 
+     /**
       * @return configuration of the current context
       */
      WindowContextConfig getConfig();
+ }
+ }}}
+ 
+ The following example shows how to use the current WindowContext
+ 
+ {{{
+ public class DemoBean
+ {
+     @Inject
+     private WindowContext windowContext;
+ 
+     public void endConversationGroup1()
+     {
+         this.windowContext.endConversations(ConversationGroup1.class);
+     }
  }
  }}}
  

Mime
View raw message