I was in the need of access beans from a Spring Bean Factory from my own HiveMind services.
I decided to go with the DefaultSpringBeanFactoryHolder mechanism instead of making my own. For achieving this i created a 'dummy' services used as a builder for the actual ApplicationContext and as a placeholder for the hivemind.lib.DefaultSpringBeanFactoryHolder service which is injected into it by HiveMind itself. Then in the 'dummy' service when the holder is injected (setter method) i have the opportunity to set the actualy BeanFactory into the holder itself. I needed to use the EagerLoad configuration for loading the 'dummy' service asap just to build-up spring and wire it into the holder. I successfully wire up the whole stuff but now i want to know if someone could/would suggest me a smarter way. This is all about HiveMind 1.1.1 Thanks -- Massimo http://meridio.blogspot.com
