[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Dynamic AOP API
flavia.rainone@jboss.com
do-not-reply at jboss.com
Thu Jul 24 10:24:39 EDT 2008
I agree that we should design a new API. IMHO the design of this API poses quite a challenge to the JBoss AOP team. Being dynamic is one of the strongest points of JBoss AOP and yet we need to provide something easy and intuititve to use, without taking out the power of flexibility (or, at least, try to balance simplicity with flexibililty).
I think we should be able of providing most of the options a user has when defining an xml. And I also think it would be a great step to provide overloaded methods as a way of avoiding null parameters. I mean, if you need to use cflow, choose the method with cflow parameter. If you don't need, passing a null cflow is not accepted, use the method without cflow instead (in the current API, you must use null in AdviceBinding constructor to indicate that a binding won't use cflow).
What do you say about annotation overrides? Maybe it would be an interesting feature to add it to our dynamic API? Or you think it would just make things too complicated?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166432#4166432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166432
More information about the jboss-dev-forums
mailing list