Assuming that you have the blueprint JNDI bundle installed then what you need 
is:

blueprint:comp/my-xface-impl

The id of the bean is "my-xface-impl"

The reference that you have declared in the XML creates a mandatory OSGi 
service dependency. This will prevent your blueprint container from starting 
unless someone else is providing an Xface service. You almost certainly don't 
want this, so I would suggest removing it.

Regards,

Tim

Sent from my iPhone

> On 5 Sep 2014, at 16:33, "Leschke, Scott" <[email protected]> wrote:
> 
> Question.  I think I need help with the use of the blueprint:comp JNDI 
> namespace.
>  
> If I have something like the following in a blueprint.xml, should I expect 
> that there be a JNDI name of the form:
> 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"/>
>  
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to