The NiFi API provides notification support through use of Java Annotations. The
org.apache.nifi.annotation.notification package contains several annotations for notification management. The following annotations may be applied to Java methods in a NiFi component to indicate to the framework when the methods should be called. For the discussion of Component Notification, we will define a NiFi component as a Processor, Controller Service, or Reporting Task.