|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) @Documented public @interface ConversationField
Denotes a field as a conversation-scoped field. Depends
on an
InjectionConversationProcessor being used to manage conversations.
name(),
conversations()| Optional Element Summary | |
|---|---|
String[] |
conversations
The conversations for which this field will be a member. |
String |
name
The name of the field. |
public abstract String name
@ConversationField String someString;
the name would default to "someString". As well, the following will be treated as the same conversation field:
@ConversationField String someString;
@ConversationField(name="someString") String dumbString;
because they have the same conversation field name.
public abstract String[] conversations
In an action class annotated with the ConversationController
annotation, the conversations() field will default to that of
the controller's conversations if left blank. If not in a
ConversationController, then the conversations field must be specified in
order to associate this field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||