org.jboss.errai.cdi.server
Class ErraiConversation
java.lang.Object
org.jboss.errai.cdi.server.ErraiConversation
- All Implemented Interfaces:
- javax.enterprise.context.Conversation
public class ErraiConversation
- extends Object
- implements javax.enterprise.context.Conversation
Acts as a bridge between an externally managed conversation handle
and the CDI container. It merely delegates to the default Reply impl. but
retrieves the conversation id through a thread local.
- See Also:
ContextManager.getThreadContextId()
,
Conversation.begin(String)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErraiConversation
public ErraiConversation(javax.enterprise.context.Conversation delegate,
ContextManager contextManager)
begin
public void begin()
- Specified by:
begin
in interface javax.enterprise.context.Conversation
begin
public void begin(String id)
- Specified by:
begin
in interface javax.enterprise.context.Conversation
end
public void end()
- Specified by:
end
in interface javax.enterprise.context.Conversation
getId
public String getId()
- Specified by:
getId
in interface javax.enterprise.context.Conversation
getTimeout
public long getTimeout()
- Specified by:
getTimeout
in interface javax.enterprise.context.Conversation
setTimeout
public void setTimeout(long milliseconds)
- Specified by:
setTimeout
in interface javax.enterprise.context.Conversation
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.enterprise.context.Conversation
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.