com.google.code.rees.scope.conversation.annotations
Annotation Type BeginConversation


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface BeginConversation

Denotes a method as a conversation-initiating method. Depending on the ConversationArbitrator being used, the convention of using the ConversationController annotation and beginning the name of an action method with "begin" can be used instead of this annotation.

Author:
rees.byars
See Also:
conversations()

Optional Element Summary
 String[] conversations
          The conversations for which this method will act as an begin-point.
 long maxIdleTimeMillis
          The idle time after which this conversation will be timed out and cleaned up, in milliseconds.
 

conversations

public abstract String[] conversations
The conversations for which this method will act as an begin-point.

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 begin point.

Default:
{}

maxIdleTimeMillis

public abstract long maxIdleTimeMillis
The idle time after which this conversation will be timed out and cleaned up, in milliseconds.

Default:
-1L


Copyright © 2012-2013. All Rights Reserved.