On Wed, Nov 18, 2015 at 6:44 PM, Neil Bartlett <njbartl...@gmail.com> wrote:
>> Right, that's the reading I did that caused me to conclude that I
>> couldn't just trivially decorate classes in a fragment with DS
>> annotations. I don't want the host to 'know' in advance the inventory
>> of the fragments.
>
> Right, this is certainly a limitation. Also you really don’t want to use 
> fragments if you can avoid it.

Fragment should be avoided but just on the requirement of host to
allow fragments to have DS components one can use a wildcard header

Service-Component: OSGI-INF/*.xml

In such a case would not any DS xml present in fragment bundle would
get picked up?

Chetan Mehrotra

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to