|
From: Rod J. <rod...@in...> - 2003-11-26 15:58:33
|
> There are two aspects related to the fact that you wrap an object in a > dynamic proxy (java or cglib generated) like this. I only mentioned > hotswapping in the message below, but I had talked about the other in a > previous message, that is the fact that you can effectively accomplis > lazy loading of the bean, or set of beans, very easily. > > Because this is so much related to lifecycle, there are arguments for > making this a standard part of the bean definition in the context (i.e. > part of the dtd). The only issue right now is that there is a shared dtd > for bean factories and contexts. The only issue is that it could make the container dependent on AOP. I think AOP is pretty core, so that doesn't offend me as much as it once did. It could also perhaps be implemented using reflection, so that if the AOP framework wasn't found on the classpath it treated a "hotswap" attribute as an error. Regards, Rod |