public class JahiaContextLoaderListener
extends org.apache.pluto.driver.PortalStartupListener
implements javax.servlet.ServletRequestListener, javax.servlet.ServletRequestAttributeListener, javax.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionBindingListener, javax.servlet.ServletContextAttributeListener
| Constructor and Description |
|---|
JahiaContextLoaderListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(javax.servlet.http.HttpSessionBindingEvent se) |
void |
attributeAdded(javax.servlet.ServletContextAttributeEvent scab) |
void |
attributeAdded(javax.servlet.ServletRequestAttributeEvent srae) |
void |
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent se) |
void |
attributeRemoved(javax.servlet.ServletContextAttributeEvent scab) |
void |
attributeRemoved(javax.servlet.ServletRequestAttributeEvent srae) |
void |
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent se) |
void |
attributeReplaced(javax.servlet.ServletContextAttributeEvent scab) |
void |
attributeReplaced(javax.servlet.ServletRequestAttributeEvent srae) |
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
static void |
endContextInitialized() |
static String |
getPid() |
static long |
getRequestCount() |
static javax.servlet.ServletContext |
getServletContext() |
static long |
getSessionCount() |
static long |
getStartupTime() |
static String |
getWebAppRoot() |
static boolean |
isContextInitialized() |
static boolean |
isEventInterceptorActivated(String interceptorName) |
static boolean |
isRunning()
Returns
true if Jahia is either starting or is currently running, but is not in a process of shutting down. |
void |
requestDestroyed(javax.servlet.ServletRequestEvent sre) |
void |
requestInitialized(javax.servlet.ServletRequestEvent sre) |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent se) |
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent se) |
static void |
setSystemProperty(String key,
String value)
Sets the system property keeping track of properties, we added (there was no value present before we set it).
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
createContextLoader, getContextLoadercloseWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContextpublic static void endContextInitialized()
public static boolean isEventInterceptorActivated(String interceptorName)
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenercontextInitialized in class org.apache.pluto.driver.PortalStartupListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenercontextDestroyed in class org.apache.pluto.driver.PortalStartupListenerpublic static javax.servlet.ServletContext getServletContext()
public static long getStartupTime()
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated in interface javax.servlet.http.HttpSessionListenerpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
sessionDestroyed in interface javax.servlet.http.HttpSessionListenerpublic void requestDestroyed(javax.servlet.ServletRequestEvent sre)
requestDestroyed in interface javax.servlet.ServletRequestListenerpublic void requestInitialized(javax.servlet.ServletRequestEvent sre)
requestInitialized in interface javax.servlet.ServletRequestListenerpublic static long getSessionCount()
public static long getRequestCount()
public static String getPid()
public static void setSystemProperty(String key, String value)
key - the property keyvalue - the value to be setpublic void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void attributeAdded(javax.servlet.http.HttpSessionBindingEvent se)
attributeAdded in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent se)
attributeRemoved in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent se)
attributeReplaced in interface javax.servlet.http.HttpSessionAttributeListenerpublic void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerpublic void attributeAdded(javax.servlet.ServletContextAttributeEvent scab)
attributeAdded in interface javax.servlet.ServletContextAttributeListenerpublic void attributeRemoved(javax.servlet.ServletContextAttributeEvent scab)
attributeRemoved in interface javax.servlet.ServletContextAttributeListenerpublic void attributeReplaced(javax.servlet.ServletContextAttributeEvent scab)
attributeReplaced in interface javax.servlet.ServletContextAttributeListenerpublic void attributeAdded(javax.servlet.ServletRequestAttributeEvent srae)
attributeAdded in interface javax.servlet.ServletRequestAttributeListenerpublic void attributeRemoved(javax.servlet.ServletRequestAttributeEvent srae)
attributeRemoved in interface javax.servlet.ServletRequestAttributeListenerpublic void attributeReplaced(javax.servlet.ServletRequestAttributeEvent srae)
attributeReplaced in interface javax.servlet.ServletRequestAttributeListenerpublic static boolean isContextInitialized()
public static boolean isRunning()
true if Jahia is either starting or is currently running, but is not in a process of shutting down.true if Jahia is either starting or is currently running, but is not in a process of shutting down; otherwise
returns falsepublic static String getWebAppRoot()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.