Class ServletContextClass
- java.lang.Object
-
- org.gcube.social_networking.liferay.ws.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 Summary
Constructors Constructor Description ServletContextClass()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent arg0)voidcontextInitialized(javax.servlet.ServletContextEvent arg0)static StringgetNotifierToken()Returns the token of the Liferay's User.
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent arg0)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent arg0)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
getNotifierToken
public static String getNotifierToken()
Returns the token of the Liferay's User.- Returns:
-
-