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
-
-
Constructor Summary
Constructors Constructor Description ELContextCleaner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(ServletContextEvent sce)voidcontextInitialized(ServletContextEvent sce)protected FieldgetField(Class<?> beanELResolver)protected voidpurgeEntries(Field properties)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Specified by:
contextInitializedin interfaceServletContextListener
-
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Specified by:
contextDestroyedin interfaceServletContextListener
-
getField
protected Field getField(Class<?> beanELResolver) throws SecurityException, NoSuchFieldException
-
purgeEntries
protected void purgeEntries(Field properties) throws IllegalArgumentException, IllegalAccessException
-
-