@jws:conversation Annotation

The @jws:conversation annotation specifies the role that an individual method or callback plays in a service's conversations. Note that these roles are different between methods and callbacks.

Note: The Web Service control uses the @jc:conversation annotation instead of the @jws:conversation annotation. The functionality is the same.

Syntax

@jws:conversation

phase="none" | "start" | "continue" | "finish"

Attributes

phase

One of four values indicating the method or callback's role in conversations. Note that only continue and finish are available for callbacks, because a callback is necessarily part of a conversation, although it cannot start a conversation.

Remarks

The @jws:conversation annotation sets the conversation phase attribute for a method or callback to specify its role in the service's conversations.

The following rules apply to this annotation's use:

Possible attribute values are as follows:

The phase attributes default values are as follows:

Related Topics

Overview: Conversations

JwsContext Interface