Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Start of Bundle with no Activator
Start of Bundle with no Activator [message #115803] Wed, 06 August 2008 20:42
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
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 Apr 19 03:34:20 GMT 2024

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

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

Back to the top