From: <ad...@jb...> - 2005-04-27 19:59:38
|
Ok, let's deal with a fundamental problem first. The MC does not necessarily use a ConstructorJoinPoint. It could use a factory to create the object. See the ConstructorMetaData. The idea of the ClassAdapter was that it would use this as a context for overrides on the object being constructed. The only other mechanism would be to pass the override context under the wire in a thread local. Of course we could disallow factories as a mechanism to construct objects, it certainly is a part of the javabean spec. But this limits the number of object heirarchies that can be deployed using the MC. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875643#3875643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875643 |