Dec 3rd, 2010, 01:13 PM
Passing an <osgi:reference> to as a constructor argument
I'm attempting to pass a service reference as a <constructor-arg>. However, springDM is giving me an error stating my service reference isn't a bean. So, how do i convert my service reference into a bean?
Currently, when injecting the service I use this:
Is there a similar syntax for passing an osgi reference as a constructor arg? Or, do I need to create a bean from my service? Any help would be greatly appreciated.