Actually, I was trying to lookup the reference but I didn’t realize
blueprint:comp wasn’t a standard part of blueprint (although the thought
occurred to me). I’m just trying to learn some stuff so there’s no urgency
here. Anyway, my research indicates that it’s implemented in Karaf/Aries but
perhaps a bit differently. Thanks for your help. I’ll look into it further.
>> blueprint:comp/my-xface ? <--
<bean id="my-xface-impl"
class="com.my.xface.impl.XfaceImpl"/>
<reference id="my-xface"
component-name="my-xface-impl"
interface=" com.my.xface.Xface"/>
From: [email protected] [mailto:[email protected]] On
Behalf Of Tim Ward
Sent: Friday, September 05, 2014 4:29 PM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] blueprint:comp JNDI namespace
Hi Scott,
If you're using Karaf then I'm afraid that you can't expect IBM's JNDI
extensions to work. There's a non-standard custom namespace being added by
WebSphere that may or may not exist in Karaf.
In any case the IBM example shows a lookup of a blueprint bean using its ID.
The bean being looked up is the reference. In your snippet you are trying to
look up the impl bean.
Tim
Sent from my iPhone
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev