com.liferay.portal.spring.context
Class PortalContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
com.liferay.portal.spring.context.PortalContextLoaderListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class PortalContextLoaderListener
- extends org.springframework.web.context.ContextLoaderListener
| Fields inherited from class org.springframework.web.context.ContextLoader |
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, GLOBAL_INITIALIZER_CLASSES_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM |
| Methods inherited from class org.springframework.web.context.ContextLoaderListener |
createContextLoader, getContextLoader |
| Methods inherited from class org.springframework.web.context.ContextLoader |
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalContextLoaderListener
public PortalContextLoaderListener()
getPortalServletContextName
public static String getPortalServletContextName()
getPortalServletContextPath
public static String getPortalServletContextPath()
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener- Overrides:
contextDestroyed in class org.springframework.web.context.ContextLoaderListener
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener- Overrides:
contextInitialized in class org.springframework.web.context.ContextLoaderListener
clearFilteredPropertyDescriptorsCache
protected void clearFilteredPropertyDescriptorsCache(org.springframework.beans.factory.config.AutowireCapableBeanFactory autowireCapableBeanFactory)
closeDataSource
protected void closeDataSource(String name)
initListeners
protected void initListeners(javax.servlet.ServletContext servletContext)