Hi,
I've been googling this for a while without finding an answer. I hope
you can point me to what I'm missing.
I've several bundles on a karaf servicemix osg container. One of the
bundles defines (and uses) <bean>'s for the command completers:
<bean id="resourceNameCompleter" class="org.bundle.a.ResourceNameCompleter"/>
<command name="resource/start">
<action class="org.opennaas.core.resources.shell.StartResourceCommand"/>
<completers>
<ref component-id="resourceNameCompleter"/>
<null/>
</completers>
</command>
On another bundle, I want to use the same completer. Using a bean id
with the same class="" doesn't work, although the class is exported in
the original bundle. Not specifing a <bean> with a matching id doesn't
work either.
Is there a way to reference the original bean from another core.xml?
Thanks!
Best regards,
Pau
--
Distributed Applications and Networks Area (DANA)
Fundació i2CAT, Internet i Innovació Digital a Catalunya, Barcelona, Spain
T: +34 935 679 927 - http://dana.i2cat.net/