01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.portletappengine;
15:
16: import javax.servlet.ServletConfig;
17: import javax.servlet.ServletException;
18: import javax.servlet.http.HttpServlet;
19:
20: /* This servlet loads all the ServletContext Listeners and calls
21: * contextInitialized() on them.
22: * Calls contextDestroyed() on them while shutdown.
23: * Note: This is a hack to make sure all the ServletContext listeners are
24: * loaded before init() of PAE Servlet. See, bug# 5024841
25: * Note: Should be removed in Servlet 2.4 containers. See, SRV.9.12 in
26: * Servlet 2.4 spec.
27: */
28:
29: public class LoadServletContextLsnrServlet extends HttpServlet {
30:
31: public void init(ServletConfig servletConfig)
32: throws ServletException {
33: }
34: }
|