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

  • Home
  • SEARCH
  • 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 8514073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:45:40+00:00 2026-06-11T04:45:40+00:00

In web applications we have ServletContextListener interface which has method: contextInitialized and it is

  • 0

In web applications we have ServletContextListener interface which has method: contextInitialized and it is called on application start up. I would like to know is there something similar in the Apache Karaf when the OSGi bundle is starting that some method would be called by the container and when the bundle is stopping some stop method would be called by the container. Is there something like that in Apache Karaf?

I am also using Spring in my bundle so maybe somehow this is possible to do using Spring? I tried to search for the information how it might be done using OSGi and Apache Karaf but did not find any information.

  • 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-06-11T04:45:42+00:00Added an answer on June 11, 2026 at 4:45 am

    I think you are looking for the BundleActivator.

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

Sidebar

Related Questions

We have two applications running on single machine,one of which is web application that
Most web applications have a Location field, in which uses may enter a Location
I have multiple web applications (PHP) which are being served to different customers from
I am new to unit testing for web applications I have a function which
My web applications have pages that display many static fields. I know that poor
I have a web application which I wish to configure via settings in an
In this moment, I have two web applications(one application is an MVC2 application for
I see quite a few web applications which have a very similar layout, so
I would like to know if it's ok to use Timer inside application scoped
I have 10 web applications deployed on JBoss. Each one has about 20 jars

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.