Announcement Announcement Module
Collapse
No announcement yet.
Implementing a Service Registry in Spring without osgi Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Implementing a Service Registry in Spring without osgi

    Hi folks,

    I got a quick Question:
    I'd like to implement some kind of "Service Registry" in Spring (OSGi is not an option).

    One Solution is automatic service discovery by the registry:

    Letting the registry find all Service instances in the ApplicationContext itself, through any of the bean lifecycle callbacks in combination with ApplicationContextAware. That makes the registry "magically" work.

    Another way would be letting the services register themselves, but I haven't found a clear, simple, concise and Spring-like way of doinig it. Any ideas?

    Any other options, I forgot?
Working...
X