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
AServletContextListener
that setsString
keyedHttpApplication
instances 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 void
contextDestroyed(javax.servlet.ServletContextEvent event)
No action performed.void
contextInitialized(javax.servlet.ServletContextEvent event)
Registers theHttpApplication
instances in theServletContext
attributes.protected abstract Map<String,HttpApplication>
getHttpApplications()
-
-
-
Method Detail
-
contextInitialized
public final void contextInitialized(javax.servlet.ServletContextEvent event)
Registers theHttpApplication
instances in theServletContext
attributes.- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
- Parameters:
event
-
-
contextDestroyed
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
No action performed.- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
- Parameters:
event
-
-
getHttpApplications
protected abstract Map<String,HttpApplication> getHttpApplications()
- Returns:
- A
Map
containing application key toHttpApplication
instances.
-
-