-
Dec 29th, 2008, 03:13 PM
#1
AbstractObjectFactory extra method suggestion
Hi Christophe,
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:
addObjectToInternalCache(name:String,instance:Obje ct):void;
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,
Roland
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