felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kriens <peter.kri...@aqute.biz>
Subject Re: Maven bundle plugin and DynamicImport-Package
Date Tue, 12 Jul 2011 14:28:24 GMT
As you're VERY closely tied to the spec package I would just export the package ...

Kind regards,

	Peter Kriens



On 12 jul 2011, at 11:21, Alasdair Nottingham wrote:

> No it doesn't. I'm taking advantage of the "deferred resolution" behaviour
> of DynamicImport-Package rather than the up front resolution. My scenario is
> that I have a bundle that registers the OSGi MBeans as services. I want to
> register the framework mbeans, but defer registration of the ConfigAdmin etc
> MBeans until the services are available. An optional import would be
> resolved up front and if I don't have a ConfigAdmin provider at startup the
> bundle would never be able to deal with the ConfigAdmin MBeans. This is not
> what I want.
> 
> Alasdair
> 
> On 12 July 2011 10:01, Peter Kriens <peter.kriens@aqute.biz> wrote:
> 
>> Doesn't optional then work better (if you know the packages)?
>> 
>> Kind regards,
>> 
>>       Peter Kriens
>> 
>> On 7 jul 2011, at 20:00, Alasdair Nottingham wrote:
>> 
>>> Hi,
>>> 
>>> I have just created a bundle that does a DynamicImport-Package. Is it
>>> possible to get the Maven bundle plugin to generate the package version
>>> range in the same way it does for normal Import-Package statements?
>>> 
>>> Thanks
>>> Alasdair
>>> 
>>> --
>>> Alasdair Nottingham
>>> not@apache.org
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
>> 
> 
> 
> -- 
> Alasdair Nottingham
> not@apache.org


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


Mime
View raw message