public class StartupServlet extends Object implements javax.servlet.ServletContextListener
| Constructor and Description |
|---|
StartupServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
does nothing
|
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
creates a new AES key and stores it to the properties files
|
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenersce - public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenersce - Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.