felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alasdair Nottingham <...@apache.org>
Subject Re: Maven bundle plugin and DynamicImport-Package
Date Wed, 13 Jul 2011 20:26:32 GMT
How does exporting a package help? I don't have the package in my bundle, so
that doesn't make sense to me.

Alasdair

On 12 July 2011 15:28, Peter Kriens <peter.kriens@aqute.biz> wrote:

> 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
>
>


-- 
Alasdair Nottingham
not@apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message