org.eclipse.jetty.webapp
类 TagLibConfiguration.TagLibListener

java.lang.Object
  继承者 org.eclipse.jetty.webapp.TagLibConfiguration.TagLibListener
所有已实现的接口:
EventListener, ServletContextListener
包容类:
TagLibConfiguration

public class TagLibConfiguration.TagLibListener
extends Object
implements ServletContextListener

TagLibListener A listener that does the job of finding .tld files that contain (other) listeners that need to be called by the servlet container. This implementation is necessitated by the fact that it is only after all the Configuration classes have run that we will parse web.xml/fragments etc and thus find tlds mentioned therein. Note: TagLibConfiguration is not used in jetty-8 as jasper (JSP engine) uses the new TldScanner class - a ServletContainerInitializer from Servlet Spec 3 - to find all listeners in taglibs and register them with the servlet container.


构造方法摘要
TagLibConfiguration.TagLibListener(WebAppContext context)
           
 
方法摘要
 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.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

TagLibConfiguration.TagLibListener

public TagLibConfiguration.TagLibListener(WebAppContext context)
方法详细信息

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

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


Copyright © 2013. All Rights Reserved.