A lot of Eclipse bundles use "Bundle-ActivationPolicy: lazy". That's
because they want to have Bundle-Activators *AND* have those bundles
be free to start (also known as "having their cake and eating it"!)
But frankly it's just for legacy reasons. If you're creating a new
bundle using DS, you don'
Hi,
Thanks a lot... for such a fast reply.
Ok I get the concpet.
You are correct I was trying to avoid the large overhead and the time
required of starting all
the bundle during the launch of the Framewrok..
So I guess now they all need to be started...
A small doubt what does the <> atrribute me
Nope it won't work like that. DS will never look at a stopped
bundle... even with the "lazy activation" policy, it only looks at
bundles in the ACTIVE or STARTING states.
Instead, turn the problem around: why is A stopped? Why not just start
all bundles?
You are probably worried about startup tim
Hi Neil,
I agree but what I mean is...
Bundle A has the service which Bundle B refers...
(Bundle A is stopped)
what I intend to do is when I start Bundle B it should look up and recognize
that
it refers to Bundle A for a service... but Bundle A is stopped so is there a
possibility to start the Bun
Hello,
Hi Neil could u please elaborate... it will be really helpful for beginner
like me..
Hi Simon Archer... :-) Thanks for the link I will look into it...
Regards
Ajinkya
On Wed, Feb 16, 2011 at 3:48 PM, Neil Bartlett wrote:
> Answer inline below...
>
> On Wed, Feb 16, 2011 at 2:36 P
Answer inline below...
On Wed, Feb 16, 2011 at 2:36 PM, ajinkya prabhune
wrote:
> Hello,
>
> Super help from both of u. I am now gng through the articles and seeing how
> it works...
>
> Yes I am trying to use a Service declared in A bundle --- to use in B
> bundle...
>
> Can I make the A Bundle
Hello,
Super help from both of u. I am now gng through the articles and seeing how
it works...
Yes I am trying to use a Service declared in A bundle --- to use in B
bundle...
Can I make the A Bundle As Lazy so that when B bundle ask for service in A
... the A bundles gets Active and Registers th
Ajinka,
Do not do this. It is a common newbie mistake: there should be no
start-ordering dependency between bundles.
You do not state *why* you want B to start after A has started. I
assume that you want to publish a service from A and consume it from
B? The correct way to do this is have B *list
[mailto:equinox-dev-boun...@eclipse.org]
On Behalf Of ajinkya prabhune
Sent: Wednesday, February 16, 2011 3:36 PM
To: equinox-dev@eclipse.org
Subject: [equinox-dev] Regarding Lazy Activation
Hello,
I am quite new to the concept of OSGi and bundles.
I have this issue.
For eg - I have 2 bundles
Bundle A and
Hello,
I am quite new to the concept of OSGi and bundles.
I have this issue.
For eg - I have 2 bundles
Bundle A and Bundle B, Bundle A depends on Bundle B
But I want to start Bundle B only when Bundle A is started...
what are the ways to do it ? I manually found out the Bundle B using the
Bundle
10 matches
Mail list logo