Class StartupListener
java.lang.Object
com.atlassian.crowd.console.listener.StartupListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
Performs upgrades to Crowd based on the build in the database and the build number for the current version of Crowd.
If startup is successful, notifies listeners that Crowd is up and running.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent servletContextEvent) void
contextInitialized
(javax.servlet.ServletContextEvent servletContextEvent)
-
Field Details
-
LICENSE_INVALID_AT_STARTUP_EVENT_TYPE
- See Also:
-
BOOTSTRAP_EVENT_TYPE
- See Also:
-
-
Constructor Details
-
StartupListener
public StartupListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-