Class DataLoader
- java.lang.Object
-
- uk.gov.gchq.gaffer.traffic.listeners.DataLoader
-
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class DataLoader extends Object implements javax.servlet.ServletContextListener
AServletContextListener
to load the road traffic dataset into the application automatically upon application startup.
-
-
Constructor Summary
Constructors Constructor Description DataLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
void
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
-
-
-
Field Detail
-
DATA_PATH
public static final String DATA_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-