Package com.atlassian.plugin
Interface SplitStartupPluginSystemLifecycle
- All Superinterfaces:
PluginSystemLifecycle
- All Known Implementing Classes:
DefaultPluginManager
Augments the life-cycle of the plugin system with the ability to split
PluginSystemLifecycle.init() for two phase
startup.- Since:
- 3.2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerform the first part of startup.voidPerform the second part of startup.Methods inherited from interface com.atlassian.plugin.PluginSystemLifecycle
init, shutdown, warmRestart
-
Method Details
-
earlyStartup
void earlyStartup()Perform the first part of startup. This initializes the plugin system, and installs and enables early plugins.- Throws:
PluginParseException- If parsing the plugins failed.IllegalStateException- if already initialized or already in the process of initialization.NotificationException- If any of the Event Listeners throw an exception on the Framework startup events.- See Also:
-
lateStartup
void lateStartup()Perform the second part of startup. This installs and enables late plugins, and performs any final validation steps. This may only be called afterearlyStartup(), and calling both earlyStartup and lateStartup is equivalent to callingPluginSystemLifecycle.init().- Throws:
PluginParseException- If parsing the plugins failed.IllegalStateException- if already initialized or already in the process of initialization.NotificationException- If any of the Event Listeners throw an exception on the Framework startup events.- See Also:
-