|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.http.ContextListener
public class ContextListener
A ServletContextListener to close the connection
any resources that are held by the Application
instance or its subclasses.
© Copyright 2006 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
ContextListener()
|
|
| Method Summary | |
|---|---|
protected void |
closePMF()
Close a PersistenceManagerFactory instance if it is
in effect for the application. |
void |
contextDestroyed(ServletContextEvent event)
Application Shutdown Event. |
void |
contextInitialized(ServletContextEvent event)
Application Startup Event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextListener()
| Method Detail |
|---|
public void contextInitialized(ServletContextEvent event)
ATTRIBUTE.
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent event)
SessionListener.close(javax.servlet.http.HttpSession).
contextDestroyed in interface ServletContextListenerprotected void closePMF()
PersistenceManagerFactory instance if it is
in effect for the application.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||