org.eaglei.repository.servlet
Class RepositoryContextListener
java.lang.Object
org.eaglei.repository.servlet.RepositoryContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public class RepositoryContextListener
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
Manage application-wide state by responding to Web Application
lifecycle events. Keep one live Sesame repository object in
the Servlet Context. It *must* be closed when container shuts down.
Important configuration variables:
- Sesame repository object (not the connection, it makes connections)
- Default namespace
- Title (in configuration)
- Version:
- $Id: $
- Author:
- Larry Stone
|
Method Summary |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
Web app destruction hook from servlet container. |
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
Web app initialization hook from servlet container. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryContextListener
public RepositoryContextListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
-
Web app initialization hook from servlet container.
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
-
Web app destruction hook from servlet container.
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2009-2010 Eagle-I. All Rights Reserved.