markap14 commented on PR #10688:
URL: https://github.com/apache/nifi/pull/10688#issuecomment-3715301108

   To be honest I think I'd probably just introduce a new 
`VerifiableComponentFactory` interface in `nifi-framework-core-api` and provide 
that in the constructor to ControllerServiceNode / ProcessorNode. Those get 
created through FlowManager -> ExtensionBuilder and so should have all of the 
necessary objects for creating such things.
   
   It could have 2 methods:
   ```
   VerifiableProcessor createProcessor(ProcessorNode processorNode, ClassLoader 
classLoader);
   
   VerifiableControllerService createControllerService(ControllerServiceNode 
serviceNode, ClassLoader classLoader);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to