How do I pull a spring bean manually? I have a rather large web application, and in a given service, a transient object requires access to a bean that is machine specific (database connection info.) Since the application runs in a cluster, this transient object (which can bounce between servers) always needs to grab the correct connection been from the current spring context and server.
So, what's the best way to manually pull a bean out of spring?
以上就是Best way to manually pull a spring bean?的详细内容，更多请关注web前端其它相关文章！