From: <ad...@jb...> - 2005-04-28 02:12:43
|
"bil...@jb..." wrote : | Then come up with another interface where AOP can intercept bean allocation (whether it be by a constructor or a factory) and have knowledge of Beanmetadata. | With your latest qualifications the AspectAdapter[Factory] sounds like it will work. But there is a big assumption that class resolution and/or not yet deployed classes isn't going to be cause problem. I just want to confirm the following lifecycle. It is nearly equivalent to the original proposal but with different objects. MC DESCRIBE: Use AspectAdapterFactory to get an AspectAdapter for the Class and its metadata. Use getDependencies to retrieve all dependencies (whether this is just what AOP thinks is important and MC needs to do extra work on top is unimportant) MC INSTANTIATE: Use AspectAdapter to get the joinpoint and dispatch the construct/factory request. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875708#3875708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875708 |