org.jboss.weld.context.conversation
Class ConversationImpl

java.lang.Object
  extended by 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
See Also:
Serialized Form

Constructor Summary
ConversationImpl(javax.enterprise.inject.Instance<org.jboss.weld.context.ConversationContext> conversationContexts)
           
 
Method Summary
 void begin()
           
 void begin(String id)
           
 void end()
           
 String getId()
           
 long getLastUsed()
           
 long getTimeout()
           
 boolean isTransient()
           
 boolean lock(long timeout)
           
 void setTimeout(long timeout)
           
 String toString()
           
 void touch()
           
 boolean unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConversationImpl

@Inject
public ConversationImpl(javax.enterprise.inject.Instance<org.jboss.weld.context.ConversationContext> conversationContexts)
Method Detail

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 timeout)
Specified by:
setTimeout in interface javax.enterprise.context.Conversation

toString

public String toString()
Overrides:
toString in class Object

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.enterprise.context.Conversation

getLastUsed

public long getLastUsed()
Specified by:
getLastUsed in interface org.jboss.weld.context.ManagedConversation

touch

public void touch()
Specified by:
touch in interface org.jboss.weld.context.ManagedConversation

lock

public boolean lock(long timeout)
Specified by:
lock in interface org.jboss.weld.context.ManagedConversation

unlock

public boolean unlock()
Specified by:
unlock in interface org.jboss.weld.context.ManagedConversation


Copyright © 2013 Seam Framework. All Rights Reserved.