|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.web.jcr.ModeShapeJcrDeployer
public class ModeShapeJcrDeployer
Servlet context listener that is responsible for initializing
the repository factory
.
This class is not thread safe, but in practice this does not matter as the servlet container must ensure that only a single instance of this exists per web context and that it is only called in a single-threaded manner.
This class is not thread-safe.
RepositoryManager
Constructor Summary | |
---|---|
ModeShapeJcrDeployer()
|
Method Summary | |
---|---|
void |
contextDestroyed(ServletContextEvent event)
Alerts the repository factory that the web application is shutting down |
void |
contextInitialized(ServletContextEvent event)
Initializes the repository factory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModeShapeJcrDeployer()
Method Detail |
---|
public void contextDestroyed(ServletContextEvent event)
contextDestroyed
in interface ServletContextListener
event
- the servlet context eventRepositoryManager.shutdown()
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
event
- the servlet context eventRepositoryManager.initialize(javax.servlet.ServletContext)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |