Using Plesk event handlers, you can perform specific operations depending on the action made by a Plesk user. Event handlers examine Action log and invoke the handleEvent method each time the action is added to the Action log. Thus, event handler cannot prevent an action. If an attempt to perform some action fails, the core does not issue notifications through this mechanism.
Multiple event handlers are invoked in the order in which implementations of EventListener interface are registered, that is, according to lexicographical order of file names. All event handlers are invoked before the external event handlers are called.
For implementation details, refer to the Implemeting Event Handlers section of the Developer's Guide.