Class ConversationImpl

  • All Implemented Interfaces:
    jakarta.enterprise.context.Conversation, Serializable, 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 Detail

      • ConversationImpl

        @Inject
        public ConversationImpl​(BeanManagerImpl manager)
    • Method Detail

      • begin

        public void begin()
        Specified by:
        begin in interface jakarta.enterprise.context.Conversation
      • begin

        public void begin​(String id)
        Specified by:
        begin in interface jakarta.enterprise.context.Conversation
      • end

        public void end()
        Specified by:
        end in interface jakarta.enterprise.context.Conversation
      • getId

        public String getId()
        Specified by:
        getId in interface jakarta.enterprise.context.Conversation
      • getTimeout

        public long getTimeout()
        Specified by:
        getTimeout in interface jakarta.enterprise.context.Conversation
      • setTimeout

        public void setTimeout​(long timeout)
        Specified by:
        setTimeout in interface jakarta.enterprise.context.Conversation
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface jakarta.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
      • isContextActive

        public boolean isContextActive()