|
From: Keith D. <kd...@cs...> - 2004-11-12 06:34:36
|
I am seeing some odd behavior with Spring prototypes that are also ApplicationListeners in the latest snapshot. Specifically, the context seems to be PRE instantiating and registering prototype instances that are application listeners (via a getBeansOfType call), even if no request for instantiation was made. Also, later requests for a new prototype result in that prototype not being registered as an application listener for the instantiating context. This is not the behavior I expected! I was under the assumption beans instantiated by the container that are application listeners would be auto-registered with the context after instantiation, as a post process activity. Thoughts? Keith |