BrightSide Workbench Full Report + Source Code
org.turro.elephant.servlet.context.ElephantContextListener Class Reference
Inheritance diagram for org.turro.elephant.servlet.context.ElephantContextListener:
Collaboration diagram for org.turro.elephant.servlet.context.ElephantContextListener:

Public Member Functions

void contextInitialized (ServletContextEvent sce)
 
void contextDestroyed (ServletContextEvent sce)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file ElephantContextListener.java.

Member Function Documentation

◆ contextDestroyed()

void org.turro.elephant.servlet.context.ElephantContextListener.contextDestroyed ( ServletContextEvent  sce)

Definition at line 41 of file ElephantContextListener.java.

41  {
42 
43  }

◆ contextInitialized()

void org.turro.elephant.servlet.context.ElephantContextListener.contextInitialized ( ServletContextEvent  sce)

Definition at line 34 of file ElephantContextListener.java.

34  {
35  ServletContext sc = sce.getServletContext();
36  ServletRegistration sr = sc.addServlet("Context", new ContextServlet());
37  sr.addMapping("/");
38  }

The documentation for this class was generated from the following file: