|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugin.PluginFrameworkContextListener
public class PluginFrameworkContextListener
Starts the plugin framework when the application starts and shuts it down when it finishes. The framework will only be started if a database connection is available and there are no upgrade errors.
Should always be found after the upgrade listener in web.xml, and before the lifecycle plugin listener. During setup, the plugin framework is not started here. In that case, its initialisation is triggered by an event published when the database is first configured:DatabaseConfiguredEvent
.
Constructor Summary | |
---|---|
PluginFrameworkContextListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
|
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginFrameworkContextListener()
Method Detail |
---|
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |