Class ConversationImpl
- java.lang.Object
-
- org.jboss.weld.context.conversation.ConversationImpl
-
- All Implemented Interfaces:
Serializable,javax.enterprise.context.Conversation,org.jboss.weld.context.ManagedConversation
public class ConversationImpl extends Object implements org.jboss.weld.context.ManagedConversation, Serializable
- Author:
- Nicklas Karlsson, Marko Luksa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversationImpl(BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voidbegin(String id)voidend()StringgetId()longgetLastUsed()longgetTimeout()booleanisContextActive()booleanisTransient()booleanlock(long timeout)voidsetTimeout(long timeout)StringtoString()voidtouch()booleanunlock()
-
-
-
Constructor Detail
-
ConversationImpl
@Inject public ConversationImpl(BeanManagerImpl manager)
-
-
Method Detail
-
begin
public void begin()
- Specified by:
beginin interfacejavax.enterprise.context.Conversation
-
begin
public void begin(String id)
- Specified by:
beginin interfacejavax.enterprise.context.Conversation
-
end
public void end()
- Specified by:
endin interfacejavax.enterprise.context.Conversation
-
getId
public String getId()
- Specified by:
getIdin interfacejavax.enterprise.context.Conversation
-
getTimeout
public long getTimeout()
- Specified by:
getTimeoutin interfacejavax.enterprise.context.Conversation
-
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeoutin interfacejavax.enterprise.context.Conversation
-
isTransient
public boolean isTransient()
- Specified by:
isTransientin interfacejavax.enterprise.context.Conversation
-
getLastUsed
public long getLastUsed()
- Specified by:
getLastUsedin interfaceorg.jboss.weld.context.ManagedConversation
-
touch
public void touch()
- Specified by:
touchin interfaceorg.jboss.weld.context.ManagedConversation
-
lock
public boolean lock(long timeout)
- Specified by:
lockin interfaceorg.jboss.weld.context.ManagedConversation
-
unlock
public boolean unlock()
- Specified by:
unlockin interfaceorg.jboss.weld.context.ManagedConversation
-
isContextActive
public boolean isContextActive()
-
-