|
From: Rod J. <rod...@in...> - 2003-11-04 18:11:00
|
All, I've just checked in some enhancements to AOP support. Earlier today I also fixed a problem reported by Claude Hussenet in the forums--AOP prototypes not being independent. The enhancements are: - All AOP proxies can be cast to ProxyConfig. This enables them to be programmatically interrogated or manipulated. Not saying this is a great idea in general, as callers shouldn't normally depend on the AOP infrastructure, just the interfaces something implements. AOP is normally an implementation detail. Nevertheless I think this is useful functionality. I had this in the previous iteration of Spring AOP. JBoss 4 also offers a similar feature. - CGLIB proxies support introductions, and the addition of new interfaces. - It's possible to force an AOP proxy factory to use CGLIB by setting the proxyTargetClass property in ProxyConfig to true. This will work even with interfaces. Regards, Rod |