Class Tomcat7DeltaSessionManager

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener, javax.management.MBeanRegistration, org.apache.catalina.Lifecycle, org.apache.catalina.Manager, SessionManager

    public class Tomcat7DeltaSessionManager
    extends DeltaSessionManager<Tomcat7CommitSessionValve>
    • Field Detail

      • lifecycle

        protected org.apache.catalina.util.LifecycleSupport lifecycle
        The LifecycleSupport for this component.
    • Constructor Detail

      • Tomcat7DeltaSessionManager

        public Tomcat7DeltaSessionManager()
    • Method Detail

      • startInternal

        public void startInternal()
                           throws org.apache.catalina.LifecycleException
        Prepare for the beginning of active use of the public methods of this component. This method should be called after configure(), and before any of the public methods of the component are utilized.
        Throws:
        org.apache.catalina.LifecycleException - if this component detects a fatal error that prevents this component from being used
      • stopInternal

        public void stopInternal()
                          throws org.apache.catalina.LifecycleException
        Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.
        Throws:
        org.apache.catalina.LifecycleException - if this component detects a fatal error that needs to be reported
      • addLifecycleListener

        public void addLifecycleListener​(org.apache.catalina.LifecycleListener listener)
        Add a lifecycle event listener to this component.
        Parameters:
        listener - The listener to add
      • findLifecycleListeners

        public org.apache.catalina.LifecycleListener[] findLifecycleListeners()
        Get the lifecycle listeners associated with this lifecycle. If this Lifecycle has no listeners registered, a zero-length array is returned.
      • removeLifecycleListener

        public void removeLifecycleListener​(org.apache.catalina.LifecycleListener listener)
        Remove a lifecycle event listener from this component.
        Parameters:
        listener - The listener to remove