Package org.forgerock.http.servlet
Class HttpFrameworkServletContextListener
- java.lang.Object
-
- org.forgerock.http.servlet.HttpFrameworkServletContextListener
-
- All Implemented Interfaces:
EventListener,javax.servlet.ServletContextListener
public abstract class HttpFrameworkServletContextListener extends Object implements javax.servlet.ServletContextListener
AServletContextListenerthat setsStringkeyedHttpApplicationinstances as attributes on theServletContext.
-
-
Constructor Summary
Constructors Constructor Description HttpFrameworkServletContextListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent event)No action performed.voidcontextInitialized(javax.servlet.ServletContextEvent event)Registers theHttpApplicationinstances in theServletContextattributes.protected abstract Map<String,org.forgerock.http.HttpApplication>getHttpApplications()Gets aMapofHttpApplicationinstances keyed by aStringapplication key.
-
-
-
Method Detail
-
contextInitialized
public final void contextInitialized(javax.servlet.ServletContextEvent event)
Registers theHttpApplicationinstances in theServletContextattributes.- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener- Parameters:
event-
-
contextDestroyed
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
No action performed.- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener- Parameters:
event-
-
-