Support Questions
Find answers, ask questions, and share your expertise

How can I create object of StandardNiFiServiceFacade's class?

How can I create object of StandardNiFiServiceFacade's class?

Hello,

I am going to make a custom processor in which I want to call methods of NiFiServiceFacade interface which are implemented by StandardNiFiServiceFacade class and for this purpose I will have to make a object of StandardNiFiServiceFacade class. I am creating object normally like this:

public NiFiServiceFacade serviceFacade = new StandardNiFiServiceFacade();

and I am getting this variable "serviceFacade" null, as in It is not initialize by implemented class's reference using above line. Can you please tell me that how I can make object of StandardNiFiServiceFacade class.

Thnaks in advance