org.eclipse.jetty.webapp
Class TagLibConfiguration.TagLibListener
java.lang.Object
org.eclipse.jetty.webapp.TagLibConfiguration.TagLibListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
- Enclosing class:
- 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.
Methods inherited from class 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)
- Description copied from interface:
ServletContextListener
- Notification that the servlet context is about to be shut down.
All servlets and filters have been destroy()ed before any
ServletContextListeners are notified of context
destruction.
- Specified by:
contextDestroyed
in interface ServletContextListener
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Description copied from interface:
ServletContextListener
- Notification that the web application initialization
process is starting.
All ServletContextListeners are notified of context
initialization before any filter or servlet in the web
application is initialized.
- Specified by:
contextInitialized
in interface ServletContextListener
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.