Actually, we have lots of answer in here too:

    http://www.manning.com/hall/

Anyone else selling anything?

-> richard

On 11/29/10 12:58, Simon J Archer wrote:

There is no problem placing a bundle activator in an exported package, but generally this is not recommended. As a best practice, you should be exporting as few types as possible.

But if your bundle is providing an abstract (or reusable) bundle activator for use by other bundles then you'd place it in an exported package. But this is all rather rare. In fact, these days there are fewer and fewer reasons to use bundle activators at all. My recommendation is to consider using Declarative Services (DS). Learning to use DS is covered extensively here: _http://equinoxosgi.org/_.


From:   Peter Lauri <[email protected]>
To:     [email protected]
Date:   11/29/2010 07:24 AM
Subject:        [osgi-dev] Package that contains activator in export?
Sent by:        [email protected]


------------------------------------------------------------------------



Hi,

Is there any guidelines if the activator it self can be inside of a package that is exported by a bundle?

With regards,
Peter lauri
_______________________________________________
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
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to