Event Listeners Administration

Last modified by Admin on 2021/03/17 21:44

cogAdd a new section in the administration to list/register/unregister known event listeners
TypeXAR
CategoryApplication
Developed by

Denis Gervalle

Active Installs6
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

Requires XWiki 6.4.4 or higher

Installable with the Extension Manager

Description

Add a new section in the administration to list/register/unregister known event listeners

listener-admin.png

The table can be sorted and filtered on Listener Class Name, Event (class name and some specific params, like filter) and listener names.

Listeners followed by a blue "C" label are components, while other listeners are just Java instance. 

When you deactivate a Java instance listener (not a component), this one is put aside for later reactivation, and therefore, it continue to be tracked. However, if another instance is registered in the meantime, this one will take precedence. 

Component are not tracked but are just taken live from the list of available components implementing the listener interface. If a registered listener does not match the available component and has the same name, this will be shown as a warning in the class column. If you deactivate such a component, you will only be able to reactivate the instance found in the available components, the other instance will be lost.

Deactivating some listeners may create major issue in your wiki, like security breach, malfunctioning, data lost,... USE ONLY THIS FEATURE IF YOU KNOW EXACTLY WHAT YOU ARE DOING !

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.0.1

Minor fixes.

  • improve translations
  • hide pages

Dependencies

Dependencies for this extension (org.xwiki.contrib.listeneradmin:application-listener-admin-ui 1.0.1):

Tags:
    

Get Connected