| Modifier and Type | Field and Description |
|---|---|
| private Connection | |
| private Server |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | contextDestroyed(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being destroyed servletContextEvent)Overrides default jakarta. Receives notification that the ServletContext is about to be shut down. |
| public void | contextInitialized(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being initialized servletContextEvent)Overrides default jakarta. Receives notification that the web application initialization process is starting. |
| public Connection | |
| private static String |
| conn | back to summary |
|---|---|
| private Connection conn | |
| server | back to summary |
|---|---|
| private Server server | |
| JakartaDbStarter | back to summary |
|---|---|
| public JakartaDbStarter() | |
| contextDestroyed | back to summary |
|---|---|
| public void contextDestroyed(ServletContextEvent servletContextEvent) Overrides default jakarta. Doc from jakarta. Receives notification that the ServletContext is about to be shut down. All servlets and filters will have been destroyed before any ServletContextListeners are notified of context destruction.
| |
| contextInitialized | back to summary |
|---|---|
| public void contextInitialized(ServletContextEvent servletContextEvent) Overrides default jakarta. Doc from jakarta. Receives notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filters or servlets in the web application are initialized.
| |
| getConnection | back to summary |
|---|---|
| public Connection getConnection() Get the connection.
| |
| getParameter | back to summary |
|---|---|
| private static String getParameter(ServletContext servletContext, String key, String defaultValue) | |