com.atlassian.plugin
Interface PluginSystemLifecycle

All Known Subinterfaces:
PluginManager
All Known Implementing Classes:
DefaultPluginManager, DefaultPluginManager

public interface PluginSystemLifecycle

Controls the life-cycle of the plugin system.

Since:
2.2.0

Method Summary
 void init()
          Initialise the plugin system.
 void shutdown()
          Destroys the plugin manager.
 

Method Detail

init

void init()
          throws PluginParseException
Initialise the plugin system. This must be called before anything else.

Throws:
PluginParseException - If parsing the plugins failed.

shutdown

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.

Since:
2.0.0


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.