Class ConversationImpl

  • All Implemented Interfaces:
    jakarta.enterprise.context.Conversation, Serializable

    public class ConversationImpl
    extends Object
    implements jakarta.enterprise.context.Conversation, Serializable
    Implementation of the Conversation interface.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConversationImpl

        public ConversationImpl()
        Default constructor. Used for proxies.
      • ConversationImpl

        public ConversationImpl​(WebBeansContext webBeansContext)
    • Method Detail

      • begin

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

        public void begin​(String id)
        This will also put the current ConversationContext into the SessionContext
        Specified by:
        begin in interface jakarta.enterprise.context.Conversation
      • end

        public void end()
        This will also remove the current ConversationContext from the SessionContext
        Specified by:
        end in interface jakarta.enterprise.context.Conversation
      • iUseIt

        public int iUseIt()
      • iDontUseItAnymore

        public void iDontUseItAnymore()
      • 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
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface jakarta.enterprise.context.Conversation
      • setTimeout

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

        public long getLastAccessTime()
        Returns:
        the timestamp when this Conversation got accessed the last time
      • updateLastAccessTime

        public void updateLastAccessTime()
        Update conversation timeout value. Basically a 'touch' for the access time
      • setProblemDuringCreation

        public void setProblemDuringCreation​(RuntimeException problemDuringCreation)