Class CockpitHttpSessionListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener, javax.servlet.ServletRequestAttributeListener

    public class CockpitHttpSessionListener
    extends org.zkoss.zk.ui.http.HttpSessionListener
    Sets the zk library property org.zkoss.zk.ui.sys.XMLResourcesLocator.class to FilteringClassLocator. This is needed to avoid conflicts when having different versions of zk in a system. For the purpose of FilteringClassLocator, it configures the zk library regexp filer, that may be configured as cockpit property : cockpitng.zk.resourcelocator.urlfilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contextInitialized​(javax.servlet.ServletContextEvent event)  
      • Methods inherited from class org.zkoss.zk.ui.http.HttpSessionListener

        attributeAdded, attributeRemoved, attributeReplaced
      • Methods inherited from class org.zkoss.zk.ui.http.HttpSessionListener23

        attributeAdded, attributeAdded, attributeRemoved, attributeRemoved, attributeReplaced, attributeReplaced, contextDestroyed, sessionCreated, sessionDestroyed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COCKPITNG_ZK_RESOURCELOCATOR_URLFILTER

        public static final java.lang.String COCKPITNG_ZK_RESOURCELOCATOR_URLFILTER
        See Also:
        Constant Field Values
    • Constructor Detail

      • CockpitHttpSessionListener

        public CockpitHttpSessionListener()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent event)
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
        Overrides:
        contextInitialized in class org.zkoss.zk.ui.http.HttpSessionListener23