Is there a generally accepted way to inject the defaultXMLBeanFactory into objects? If not what are the various ways people are accessing the beanFactory in their applications?
In the example apps, it looks like "createObject" is being used directly in the objects, but this seems like bad practice. Currently, I'm defining the bean factory in the application scope, but is there a problem with injecting this into objects using the coldspring.xml config? If so, what are better ways to do it? If not, how are people doing it in the config (constructor-arg, property, config bean. Etc.)? I hope this question makes sense. I'm trying to get the most out of Coldspring and this is my next step (AOP will follow...) Thanks, anthony
