Class ServletContextClass

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    public class ServletContextClass
    extends Object
    implements javax.servlet.ServletContextListener
    Loaded at start up. This class performs some init - to be done once - operations.
    Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
    • Constructor Detail

      • ServletContextClass

        public ServletContextClass()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent arg0)
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent arg0)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
      • getNotifierToken

        public static String getNotifierToken()
        Returns the token of the Liferay's User.
        Returns: