org.apache.myfaces.extensions.cdi.core.api.scope.conversation
Annotation Type ConversationRequired


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@ViewMetaData(override=true)
public @interface ConversationRequired

Restricts access to beans only if the conversation of the bean has been started already


Required Element Summary
 Class<? extends ViewConfig> defaultEntryPoint
          Default entry-point which will be used if a violation had been detected
 
Optional Element Summary
 Class<?> conversationGroup
          Group of the conversation which is required.
 Class<? extends ViewConfig>[] entryPoints
          Allowed entry-points for starting a conversation
 

Element Detail

defaultEntryPoint

public abstract Class<? extends ViewConfig> defaultEntryPoint
Default entry-point which will be used if a violation had been detected

Returns:
entry-point page

conversationGroup

public abstract Class<?> conversationGroup
Group of the conversation which is required. If used at beans, it's by default the group of the bean

Returns:
Group of the conversation
Default:
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.ConversationRequired.class

entryPoints

public abstract Class<? extends ViewConfig>[] entryPoints
Allowed entry-points for starting a conversation

Returns:
possible entry-points
Default:
{}


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.