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 9194899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:31:15+00:00 2026-06-17T21:31:15+00:00

So the best way I thought of explaining it would be with examples. When

  • 0

So the best way I thought of explaining it would be with examples.

When publishing service X, it is needed to register one instance of it. That same instance answers for as many clients call it.

I was wondering if there is a way to instantiate many instances of it on demand. Like client c1 asks for service X under instance x1, client c2 communicates with instance x2, and after processing each instance is destroyed.

As it works with web servers. Each client method call would be a request, and after it responses that request is destroyed.

I saw some answers about multiple references but I wasn’t quite sure if they were all the same question I have.

Thankyou

  • 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-17T21:31:16+00:00Added an answer on June 17, 2026 at 9:31 pm

    OSGi currently supports ServiceFactory which allows the provider to create a unique service instance for each consumer bundle. This may be sufficient for your needs

    But it does not allow the provider to provide a unique service instance for each request for a service within a bundle. I am working on a proposal for R6 to allow the creation of unique service instances for each request. Hopefully it will be accepted into the R6 spec.

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

Sidebar

Related Questions

I've been reading up on strtok and thought it would be the best way
What is the best way to save several strings on android? I thought that
What is the best way to atomically lock multiple files? One possibility I've thought
What's the best way to prevent a dictionary attack? I've thought up several implementations
What would be the best way to duplicate an object placed in a list
What's the best way to persist user state with Tomcat/Scala? My first thought is
What would be the best way to secure .net web services used by a
What would be the best way to implement NLog in my Prism / CAL
What would be the best way to resize a user recorded video on the
What is the best way to do that? I tried the following: ByteBuffer cacheBuffer=ByteBuffer.allocateDirect(nm(nLimit,0));

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.