Class TagLibConfiguration.TagLibListener

  extended by org.eclipse.jetty.webapp.TagLibConfiguration.TagLibListener
All Implemented Interfaces:
EventListener, ServletContextListener
Enclosing class:

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.

Constructor Summary
TagLibConfiguration.TagLibListener(WebAppContext context)
Method Summary
 void contextDestroyed(ServletContextEvent sce)
 void contextInitialized(ServletContextEvent sce)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public TagLibConfiguration.TagLibListener(WebAppContext context)
Method Detail


public void contextDestroyed(ServletContextEvent sce)
Specified by:
contextDestroyed in interface ServletContextListener


public void contextInitialized(ServletContextEvent sce)
Specified by:
contextInitialized in interface ServletContextListener

Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.