public interface

PluginSystemLifecycle

com.atlassian.plugin.PluginSystemLifecycle
Known Indirect Subclasses

Class Overview

Controls the life-cycle of the plugin system.

Summary

Public Methods
abstract void init()
Initialise the plugin system.
abstract void shutdown()
Destroys the plugin manager.
abstract void warmRestart()
Restart all plugins by disabling and enabling them in the order they were loaded (by plugin loader)

Public Methods

public abstract void init ()

Initialise the plugin system. This must be called before anything else.

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.

public abstract void shutdown ()

Destroys the plugin manager. This must be called when getting rid of the manager instance and you plan to create another one. Failure to do so will leave around significant resources including threads and memory usage and can interfere with a web-application being correctly shutdown.

public abstract void warmRestart ()

Restart all plugins by disabling and enabling them in the order they were loaded (by plugin loader)