Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6163069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:45:47+00:00 2026-05-23T21:45:47+00:00

I try to learn how osgi works. I’ve written my first hello-world bundle which

  • 0

I try to learn how osgi works. I’ve written my first hello-world bundle which gives some console output when the start-method of the bundle activator class is executed. Now, I’ve read about the lazy starting mechanism and I put this flag to my bundle manifest. then, I started the equinox console, installed my bundle and started it. but now I would have expected my bundle to be marked as ‘starting’. but instead it already calls it’s start method and is marked as active.
did I understand anything wrong with the lazy starting mechanism???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:45:48+00:00Added an answer on May 23, 2026 at 9:45 pm

    The lazy-start flag is used when you have other bundles that depend on your bundle and classes in your bundle.

    Say you have two bundles A and B, where

    • A exports the class C
    • B depends on A
    • B contains a class D that refers C

    What happens when the bundle B is activated?

    Without the lazy-load flag, the A bundle is loaded and activated first.

    With the lazy-load flag, the A bundle is not loaded or activated until the class D needs to refer to the class C.

    That can make a very big difference in the activation profile, as the load and activation of bundles are postponed to happen as late as possible with the lazy-load flag so the initial response from the bundle is very fast…

    On the contrary, this flag also makes it a hole lot more difficult to reason about the execution time for methods in B as this can be intercepted with load and activation of bundles at any time….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently decided to try to learn some bash scripting and as a fun
I try to learn jQuery. I watch a Lynda training video in which there
I try to learn OpenGL by creating some sort of 3D Modeler application using
Some projects that I try and learn from don't have a schema.rb file, why
Is it realistic to try and learn and code a Flex 3 application without
After I've seen this PDC session I wanted to try to learn a bit
i try to learn asp.net Profile management. But i added below xml firstName,LastName and
i try to learn transaction scope. Everything looks good. i try to control transaction
i try to learn scheme and as a test project i wanted to create
Now i'm try to learn multithreading and mutext. But i don't understand it. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.