Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: change to appropriate fonts

...

  • Register and unregister something when a plugin is installed and uninstalled from the system. 

  • Create and clean resources when the plugin is installed and uninstalled from the system. 

Interface Class

org.joget.plugin.base.ActivationAwarePlugin

  • This plugin interface can be used together with other plugin types

  • The plugin implemented this interface will be aware of the plugin's installation and uninstalling events.

Method Detail

Interface Methods
afterRegister

...

public void afterRegister()

This method will be called after the plugin is registered with the service.

beforeUnregister

...

public void beforeUnregister()

This method will be called before the plugin is going to be unregistered from the service.

Sample Plugins

All Web Filter plugins are a sample of this plugin interface, as the web filter plugin uses it to auto-register and unregister the filter after installation and before uninstalling.

...