Class SessionContext


  • public class SessionContext
    extends java.lang.Object
    SessionContext Information about the context to which sessions belong: the Context, the SessionHandler of the context, and the unique name of the node. A SessionHandler is 1:1 with a SessionContext.
    • Constructor Detail

    • Method Detail

      • getWorkerName

        public java.lang.String getWorkerName()
      • getCanonicalContextPath

        public java.lang.String getCanonicalContextPath()
      • getVhost

        public java.lang.String getVhost()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • run

        public void run​(java.lang.Runnable r)
        Run a runnable in the context (with context classloader set) if there is one, otherwise just run it.
        Parameters:
        r - the runnable