Skip to main content



      Home
Home » Eclipse Projects » Equinox » Start of Bundle with no Activator
Start of Bundle with no Activator [message #115803] Wed, 06 August 2008 16:42
Eclipse UserFriend
Hi all,

currently, I'm introduce myself to the OSGI spec and the Eclipse Equinox
implementation. I know that the usage of an Bundle-Activator is not
mandatory; it is commonly used for settings up initial things. Okay, so
far so good. But:

If a Bundle contains no Activator, when will the Bundle's state set to
STARTING and when to ACTIVE? In the OSGi spec, it is defined, that the
STARTINg state will be reached, when the Activator.start() was invoked
and is still working. After the returning, the Bundle will be set in the
active state. But if there is no Activator, that can be invoked for
starting, IMHO the Bundle.start() will skipp the STARTING-phase and will
set the state immediately to ACTIVE.

Is it so?

Thanks a lot
Timothy
Previous Topic:Help installing a feature with P2
Next Topic:org.eclipse.equinox.security.storage suitable for Preference storage in apps
Goto Forum:
  


Current Time: Fri May 09 19:52:10 EDT 2025

Powered by FUDForum. Page generated in 0.03127 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top