Start level would be a good fallback and technically simpler than system
bundle fragment
but maybe someone has a better idea.
Christian
On 28.10.2016 17:16, Jean-Baptiste Onofré wrote:
Hi Christian
I guess you don't want to use start level right ?
Regards
JB
On Oct 28, 2016, at 15:25, Christian Schneider
<[email protected] <mailto:[email protected]>> wrote:
There are some rare cases were I would like to make sure that certain
bundles are started very early (or before other bundles).
Two examples:
- Karaf decanter logs messages, bundle and services events. The problem
is that it will only start to do so when the decanter bundles are
started. So it misses some messages on startup. Decanter currently uses
EventAdmin to communicate between modules. This introduces another point
where messages can get lost during startup.
- Simon Chemuil introduces an interesting Aspect framework Aspecio that
can apply aspects to services. The problem is that it must be started
before the services are present.
Are there best practices for these use cases?
Christian
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev