Skip navigation links

Package com.atlassian.plugin.event.events

This package contains events that will be fired by the framework.

See: Description

Package com.atlassian.plugin.event.events Description

This package contains events that will be fired by the framework.

The most useful events are those concerning plugin and modules. This table gives an overview on the key events and when they will and will not fire:

Event When fired When not
PluginEnabledEvent
  • Plugin explicitly enabled via PluginController
  • Plugin refreshed as a result of the upgrade of a plugin that provides a package to it
  • Plugin enabled after being installed via startup and dynamic installation
  • Plugin enabled by starting OSGi bundle directly
  • OSGi bundle installed via OSGi apis
PluginDisabledEvent
  • Explicitly disabled via PluginController
  • A required package dependency is uninstalled
  • Stopping an OSGi bundle directly
  • A required package dependency is uninstalled
  • A required OSGi service dependency is gone.  Includes imported components
  • Plugin framework shutdown
PluginModuleEnabledEvent
  • Explicitly enabled via PluginController
  • Plugin enablement during startup and dynamic installation
  • Plugin refreshed as a result of the upgrade of a plugin that provides a package to it
  • Explicit plugin enablement via PluginController
  • Plugin enabled via starting OSGi bundle directly
  • OSGi bundle installed via OSGi apis
PluginModuleDisabledEvent
  • Explicitly disabled via PluginController
  • Explicit plugin disablement via PluginController
  • Plugin refreshed as a result of the upgrade of a plugin that provides a package to it
  • A required OSGi service dependency is gone.  Includes imported components
  • A required package dependency is uninstalled
  • Stopping OSGi bundle directly
  • Removal of ModuleDescriptor exposed as an OSGi service
  • Plugin framework shutdown
  • Failure loading subsequent plugin module exposed as osgi service
PluginUninstalledEvent
  • Explicitly uninstalled via PluginController
  • Plugin upgrade (process uninstalls old before installing new)
Skip navigation links

Copyright © 2019 Atlassian. All rights reserved.