Home
Categories
Dictionary
Download
Project Details
Changes Log
Tutorials
FAQ
License

Plugins initialization order



This article is about the plugins initialization order.

The initialization order of Plugins is important because a Plugin which depends on another one may rely on resources and classes initialized by the Plugin it depends on.

Default initialization order

By default the plugins are initialized in the order of the plugin names.

For example, if you have three plugins with the following names:
  • "Plugin_A"
  • "Plugin_B"
  • "Plugin_C"
They will be initialized in the order of their names:
  • "Plugin_A"
  • "Plugin_B"
  • "Plugin_C"

Initialization order with dependencies

If a plugin depends on another plugin, it will be put after the plugin on which it depend on in the initialization order.

For example, if you have three plugins with the following names:
  • "Plugin_A" depending on "Plugin_B"
  • "Plugin_B"
  • "Plugin_C"
They will be initialized in the following order:
  • "Plugin_B"
  • "Plugin_C"
  • "Plugin_A"

See also


Categories: javafx | plugins | swing

Copyright 2006-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences