JwsContext.finishConversation() Method

Marks the current conversation instance as requiring removal after the currently executing method or event handler returns.

# Syntax

    public void finishConversation()

# Parameters

None.

# Return Value

None.

# Exceptions

None.

# Remarks

Call this method to force removal of the conversation instance as an alternative to waiting for it to be removed by WebLogic Server when the conversation times out or its "finish" method is reached. Calling this method from within another method is equivalent to marking the calling method with the @conversation phase="finish" tag.

Related Topics

@jws:conversation Tag

Overview: Conversations