How do I inject declarative service into my spring bean

107 views Asked by At

I have a third party lib which is exposing declarative service. But I have a spring bean class.

How do I inject this declarative service into my spring bean class?

1

There are 1 answers

0
Nadir On

You must declare this service also as a bean so it can be managed by spring.