"rmcdonough" wrote : .....I've been doing more reasearch on AOP overall 
  | and more research on AspectJ and JBossAOP. Now I'm not sure that I'll be 
  | phrasing thsi right, but it seems that AspectJ doesn't allow you to apply 
  | advice or introduction on an existing class without explicitly defining defining 
  |  a join point within an Ascpect. Also, once you make this change, you will also
  |  have to recompile all your classes again. 

Hi.
So, to clear things up...
You may introduce sth in AspectJ's aspect to some class without specifying
 pointcut (what for would you specify it?).

With AspectJ; to apply advice you always have to specify some kind of 
pointcut/join point. In AspectJ the only possibility to apply some advice is by 
defining it on some pointcut (but AspectJ people work on annotations).

About recompiling: of course you have to recompile classes (with ) 
whenever you change sth in AspectJ. But the same goes for JBossAOP (if you 
don't use custom classloader). Even if you add some @metadata to some 
method - you still need to recompile the class. But, is there some problem with 
recompiling?

Sincerely, 
Tomasz


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848291#3848291

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848291


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to