Hey Neil,

Ok. Suppose I included service definitions (for same service name and same
impl) for both.
My concern is: what could happen if both runtime is installed and active in
the same environment. The framework will fail to register both or only one
service?

thanks a lot,

Cristiano

2013/3/28 Neil Bartlett <[email protected]>

> Yes you can do this without any problems. Just include both the
> Service-Component header for DS, and the blueprint XML files under
> OSGI-INF/blueprint. You will also need both the corresponding runtime
> bundles installed and active. Then it will all "Just Work" (TM).
>
> Neil
>
> On Thu, Mar 28, 2013 at 1:01 PM, Cristiano Gavião <[email protected]>wrote:
>
>> Hello,
>>
>> I need to osgify an existent API and expose services based on it.
>>
>> There are people that uses Blueprint by default (karaf) and there are
>> people that uses DS (equinox).
>>
>> could I provide both type of services in a same bundle ?
>>
>> and what could happen if the system have both runtime installed ? can I
>> choose one at runtime?
>>
>> thanks for any tip.
>>
>> Cristiano
>>
>> _______________________________________________
>> 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
>



-- 
"Tudo vale a pena se a alma não é pequena..."
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to