org.apache.myfaces.extensions.cdi.core.api.scope.conversation
Annotation Type ConversationGroup
@Target(value={PARAMETER,FIELD,METHOD,CONSTRUCTOR,TYPE})
@Retention(value=RUNTIME)
@Documented
@Qualifier
public @interface ConversationGroup
CODI uses WindowScoped
for providing a global
conversation per window. ConversationScoped
is
a fine-grained version of std. CDI conversations. Per default a
ConversationScoped
bean exists in an isolated
conversation which just contains this bean. If multiple beans belong to the same logical conversations,
it's possible to use this special qualifier for grouping such beans.
Operations like Conversation.close()
will be performed on the whole group.
- Author:
- Gerhard Petracek
Required Element Summary |
Class<?> |
value
Class or interface which should be used as type-safe key for identifying the conversation-group. |
value
public abstract Class<?> value
- Class or interface which should be used as type-safe key for identifying the conversation-group.
- Returns:
- class or interface which should be used as key
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.