Hi,

This is exactly how start-level in OSGi works, "lower" start-level means it need start first.

Freeman
On 2012-4-6, at 上午3:47, Filippo Balicchia wrote:

Hello,
I need to know how bundle start level works.
I try to create a feture with two bundle
<feature name='my-project' version='1.0.0'>
<bundle start-level='90'>mvn:com.mycompany.myproject/myproject- service</bundle> <bundle start-level='85'>mvn:com.mycompany.myproject/myproject- dao</bundle>
</feature>

when the servicemix 4.4.1 (karaf) start and i make an osgi:list I see that
myproject-dao load as first and not for second.

but this is not 'the result I expected

I missed something?


thanks for help
--Filippo

---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to