Hi Charlie,

in that case :)
But to be honest, I don't see much value of having those in a fragment.

regards, Achim



2014-12-02 10:27 GMT+01:00 Charlie Mordant <[email protected]>:

> Hi Ackim,
>
> My fragment listens only when it's connected to its parent, which is good
> :).
> Concerning DS/SCR, it seems that there are some unsupported behaviors when
> used in fragment, i.e.
> http://stackoverflow.com/questions/8592860/component-inside-a-fragment-never-activated
>
> Regards,
> Charlie
>
> 2014-12-02 10:17 GMT+01:00 Achim Nierbeck <[email protected]>:
>
>> Hi Charlie,
>>
>> I'm not sure I follow, cause a fragment bundle is always connected to a
>> host bundle and can't live without.
>> So did your blueprint did get started even though your fragment bundle
>> wasn't bound to a host bundle??
>> In that case you found a bug that needs to be fixed :-)
>>
>> If it's connected to a Host bundle nothing changed and the same rule for
>> Blueprint does also apply to pure Java and or SCR. Though
>> if you can't alter the Activator your out of hope for pure Java leaving
>> you with some other "extending" framework like SCR/DS.
>> As those frameworks do the wiring by extending the bundle.
>>
>> regards, Achim
>>
>>
>>
>> 2014-12-02 9:52 GMT+01:00 Charlie Mordant <[email protected]>:
>>
>>> Hi Karaf,
>>>
>>> I achieved to listen services in a bundle fragment using a blueprint
>>> service-listener, but I wonder how to achieve it in a lower level way (.i.e
>>> pure Java or SCR).
>>> How can I do this without modifying the host?
>>>
>>> Best regards,
>>> Charlie
>>>
>>> --
>>> Charlie Mordant
>>>
>>> Full OSGI/EE stack made with Karaf:
>>> https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>>>
>>
>>
>>
>> --
>>
>> Apache Member
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>>
>> Software Architect / Project Manager / Scrum Master
>>
>>
>
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf:
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to