Hi Joe, Thanks for your reply. I have set .identifiesControllerService(MyService.class) . Any other option that might have missed ? Is there any way to debug it?
Thanks Shashi On Mon, Sep 5, 2016 at 8:12 AM, Joe Witt <[email protected]> wrote: > Shashi > > You should not have to enter the controller service identifier. In your > processors property descriptor have you used 'identifiesControllerService' > set. Such as in this example > > > static final PropertyDescriptor SSL_CONTEXT_SERVICE = new > PropertyDescriptor.Builder() > > .name("ssl.context.service") > > .displayName("SSL Context Service") > > .description("Specifies the SSL Context Service to use") > > .required(false) > > .identifiesControllerService(SSLContextService.class) > > .build(); > > > Thanks > > Joe > > On Sep 4, 2016 3:02 PM, "Shashi Vishwakarma" <[email protected]> > wrote: > >> Hi >> >> I need some help in my designing a controller service. I am developing a >> controller service which returns a object of a class and then that object >> can be referenced by multiple process.For Example >> >> Employee emp = new Employee(); >> emp.setName("Jack"); >> >> return emp; >> >> emp object will returned from controller service and will be used by >> custom processor. >> >> Let me know if my design is correct . I tried implementing this approach >> but does not seems to be working. While referencing controller service >> getting below value in processor.. >> >> >> >> >> My processor is showing some warning. >> >> >> Any pointers on this? >> >> Highly appreciate your help..!!!! >> >> Thanks >> Shashi >> >> >>
