|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.shale.examples.sqlbrowser.Listener
public class Listener
A servlet context listener that sets up the embedded example database.
| Field Summary | |
|---|---|
static String |
INTERNAL_DATA_SOURCE
The application scope attribute under which we store a data source for the embedded database. |
| Constructor Summary | |
|---|---|
Listener()
|
|
| Method Summary | |
|---|---|
void |
contextDestroyed(ServletContextEvent event)
Perform cleanup actions upon application shutdown. |
void |
contextInitialized(ServletContextEvent event)
Perform setup actions upon application startup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INTERNAL_DATA_SOURCE
The application scope attribute under which we store a data source for the embedded database.
| Constructor Detail |
|---|
public Listener()
| Method Detail |
|---|
public void contextDestroyed(ServletContextEvent event)
Perform cleanup actions upon application shutdown.
contextDestroyed in interface ServletContextListenerpublic void contextInitialized(ServletContextEvent event)
Perform setup actions upon application startup.
contextInitialized in interface ServletContextListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||