org.eclipse.jetty.servlet.listener
类 ELContextCleaner

java.lang.Object
  继承者 org.eclipse.jetty.servlet.listener.ELContextCleaner
所有已实现的接口:
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


构造方法摘要
ELContextCleaner()
           
 
方法摘要
 void contextDestroyed(ServletContextEvent sce)
          Receives notification that the ServletContext is about to be shut down.
 void contextInitialized(ServletContextEvent sce)
          Receives notification that the web application initialization process is starting.
protected  Field getField(Class beanELResolver)
           
protected  void purgeEntries(Field properties)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ELContextCleaner

public ELContextCleaner()
方法详细信息

contextInitialized

public void contextInitialized(ServletContextEvent sce)
从接口 ServletContextListener 复制的描述
Receives notification that the web application initialization process is starting.

All ServletContextListeners are notified of context initialization before any filters or servlets in the web application are initialized.

指定者:
接口 ServletContextListener 中的 contextInitialized
参数:
sce - the ServletContextEvent containing the ServletContext that is being initialized

contextDestroyed

public void contextDestroyed(ServletContextEvent sce)
从接口 ServletContextListener 复制的描述
Receives notification that the ServletContext is about to be shut down.

All servlets and filters will have been destroyed before any ServletContextListeners are notified of context destruction.

指定者:
接口 ServletContextListener 中的 contextDestroyed
参数:
sce - the ServletContextEvent containing the ServletContext that is being destroyed

getField

protected Field getField(Class beanELResolver)
                  throws SecurityException,
                         NoSuchFieldException
抛出:
SecurityException
NoSuchFieldException

purgeEntries

protected void purgeEntries(Field properties)
                     throws IllegalArgumentException,
                            IllegalAccessException
抛出:
IllegalArgumentException
IllegalAccessException


Copyright © 2013. All Rights Reserved.