Dec 29th, 2008, 03:13 PM
AbstractObjectFactory extra method suggestion
as far as I can gather from the docs and the sources its not possible at the moment to add an instance of an object to the AbstractObjectFactory, and I mean an instance that isn't constructed by Spring.
I'd like to suggest an extra method that facilitates this. I.E. I'd like to be able to do this:
An easy example of usage for this would be to add the instance of the applicationContext to the object cache. I have a few factories that could be more easily configured this way.
But it could also be useful for adding objects that you retrieved remotely for example.
what do you think?
thanks in advance,