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: [email protected] For additional commands, e-mail: [email protected]

