Class DistributableSession<B extends org.wildfly.clustering.ee.Batch>

  • All Implemented Interfaces:
    org.apache.catalina.Session, CatalinaSession

    public class DistributableSession<B extends org.wildfly.clustering.ee.Batch>
    extends Object
    implements CatalinaSession
    Adapts a WildFly distributable Session to Tomcat's Session interface.
    Author:
    Paul Ferraro
    • Method Detail

      • getAuthType

        public String getAuthType()
        Specified by:
        getAuthType in interface org.apache.catalina.Session
      • setAuthType

        public void setAuthType​(String authType)
        Specified by:
        setAuthType in interface org.apache.catalina.Session
      • getCreationTime

        public long getCreationTime()
        Specified by:
        getCreationTime in interface org.apache.catalina.Session
      • getId

        public String getId()
        Specified by:
        getId in interface org.apache.catalina.Session
      • getIdInternal

        public String getIdInternal()
        Specified by:
        getIdInternal in interface org.apache.catalina.Session
      • getLastAccessedTime

        public long getLastAccessedTime()
        Specified by:
        getLastAccessedTime in interface org.apache.catalina.Session
      • getManager

        public org.apache.catalina.Manager getManager()
        Specified by:
        getManager in interface org.apache.catalina.Session
      • getMaxInactiveInterval

        public int getMaxInactiveInterval()
        Specified by:
        getMaxInactiveInterval in interface org.apache.catalina.Session
      • setMaxInactiveInterval

        public void setMaxInactiveInterval​(int interval)
        Specified by:
        setMaxInactiveInterval in interface org.apache.catalina.Session
      • getPrincipal

        public Principal getPrincipal()
        Specified by:
        getPrincipal in interface org.apache.catalina.Session
      • setPrincipal

        public void setPrincipal​(Principal principal)
        Specified by:
        setPrincipal in interface org.apache.catalina.Session
      • getSession

        public jakarta.servlet.http.HttpSession getSession()
        Specified by:
        getSession in interface org.apache.catalina.Session
      • isValid

        public boolean isValid()
        Specified by:
        isValid in interface org.apache.catalina.Session
      • addSessionListener

        public void addSessionListener​(org.apache.catalina.SessionListener listener)
        Specified by:
        addSessionListener in interface org.apache.catalina.Session
      • endAccess

        public void endAccess()
        Specified by:
        endAccess in interface org.apache.catalina.Session
      • expire

        public void expire()
        Specified by:
        expire in interface org.apache.catalina.Session
      • getNote

        public Object getNote​(String name)
        Specified by:
        getNote in interface org.apache.catalina.Session
      • getNoteNames

        public Iterator<String> getNoteNames()
        Specified by:
        getNoteNames in interface org.apache.catalina.Session
      • removeNote

        public void removeNote​(String name)
        Specified by:
        removeNote in interface org.apache.catalina.Session
      • removeSessionListener

        public void removeSessionListener​(org.apache.catalina.SessionListener listener)
        Specified by:
        removeSessionListener in interface org.apache.catalina.Session
      • setNote

        public void setNote​(String name,
                            Object value)
        Specified by:
        setNote in interface org.apache.catalina.Session
      • tellChangedSessionId

        public void tellChangedSessionId​(String newId,
                                         String oldId,
                                         boolean notifySessionListeners,
                                         boolean notifyContainerListeners)
        Specified by:
        tellChangedSessionId in interface org.apache.catalina.Session
      • isAttributeDistributable

        public boolean isAttributeDistributable​(String name,
                                                Object value)
        Specified by:
        isAttributeDistributable in interface org.apache.catalina.Session