Class SimpleEventHandlingExecutor

java.lang.Object
org.alfresco.event.sdk.handling.SimpleEventHandlingExecutor
All Implemented Interfaces:
EventHandlingExecutor

public class SimpleEventHandlingExecutor extends Object implements EventHandlingExecutor
Simple implementation of EventHandlingExecutor that uses EventHandlingRegistry to get the List of EventHandlers to execute based on the event type and after that executes the handling method for each of them whenever the EventFilter condition is fulfilled by the event.
  • Constructor Details

  • Method Details

    • executeEventHandlers

      public void executeEventHandlers(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> repoEvent)
      Description copied from interface: EventHandlingExecutor
      Execute the event handlers that correspond to a specific RepoEvent.
      Specified by:
      executeEventHandlers in interface EventHandlingExecutor
      Parameters:
      repoEvent - given RepoEvent to be handled