felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: the life cycle of a bundle without Activator
Date Mon, 03 Jan 2011 04:01:00 GMT
On 1/2/11 22:04, Rice Yeh wrote:
> Hi,
>    Is it right that a bundle without Activator has only states INSTALLED,
> RESOLVED, AND UNINSTALLED? That is, it will never be activated since it has
> no activator.

It can be activated, but that won't have any impact other than changing 
its stated from RESOLVED to ACTIVE. If the bundle is just a library, 
then there is no need to ever activate it.

If the bundle is involved in some sort of extender pattern where it 
implements an extension, then it is possible that the extender is using 
the ACTIVE state as a trigger to do something on behalf of the 
activator-less bundle. In such a case, activating the bundle is 
necessary, even though it doesn't have an activator. You can see this 
with bundles for Declarative Services or iPOJO, for example.

-> richard

> Rice
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message