How do I inject declarative service into my spring bean

127 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 best solutions below

0
On

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