Component Lifecycle
The NiFi API provides lifecycle support through use of Java Annotations. The org.apache.nifi.annotation.lifecycle
package contains several annotations for lifecycle 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 Lifecycle, we will define a NiFi component as a Processor, ControllerServices, or ReportingTask.