org.apache.myfaces.orchestra.conversation.annotations
Annotation Type ConversationName


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ConversationName

An annotation that can be attached to a class in order to set the orchestra conversation-name that this bean lives in.

When a bean declaration (in whatever dependency-injection framework is being used) specifies that this object is in a conversation scope, and no specific conversation name is defined, then the class being instantiated is checked for this annotation.

This is the annotation equivalent of the spring configuration attribute orchestra:conversationName.

Note that this annotation does not support setting of the bean scope at the same time, as that is something that the dependency framework being used should provide its own annotations for.


Optional Element Summary
 java.lang.String value
           
 

value

public abstract java.lang.String value
Default:
""


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.