org.eclipse.jetty.servlet.listener
Class ELContextCleaner
java.lang.Object
org.eclipse.jetty.servlet.listener.ELContextCleaner
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class ELContextCleaner
- extends Object
- implements ServletContextListener
ELContextCleaner
Clean up BeanELResolver when the context is going out
of service:
See http://java.net/jira/browse/GLASSFISH-1649
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=353095
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELContextCleaner
public ELContextCleaner()
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Specified by:
contextInitialized
in interface ServletContextListener
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Specified by:
contextDestroyed
in interface ServletContextListener
getField
protected Field getField(Class beanELResolver)
throws SecurityException,
NoSuchFieldException
- Throws:
SecurityException
NoSuchFieldException
purgeEntries
protected void purgeEntries(Field properties)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.