-
Mar 23rd, 2011, 04:44 AM
#1
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules