org.jboss.errai.enterprise.client.cdi.api
Class Conversation

java.lang.Object
  extended by org.jboss.errai.enterprise.client.cdi.api.Conversation

public class Conversation
extends Object

Client side conversation handle. Conversations and messages correlate through the subject.
Handles can be created through the CDI.createConversation(String) client interface.

Author:
Heiko Braun
See Also:
CDI

Method Summary
 void begin()
           
 void end()
          Explicitly end a conversation
 String getId()
           
 String getSubject()
           
 boolean hasEnded()
           
 boolean isActive()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSubject

public String getSubject()

getId

public String getId()

begin

public void begin()

isActive

public boolean isActive()

end

public void end()
Explicitly end a conversation


hasEnded

public boolean hasEnded()

reset

public void reset()


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.