[aosd-discuss] Are Limitations in AspectJ 1.1 satisfied with 1.5?

Fabiano Ricci faricci at gmail.com
Tue Sep 5 10:07:58 EST 2006


Hi all,

in the "Improving Changeability of COTS System Using AOP" ( Li, Kvale, 
Conradi 2006) authors explains some limitations of AJ:

1) It doesn't provide a full support to access variables in the target 
program.
    A pointcut can create a reference to all variables  in a joinpoint. 
Possible variables are: this, target. variables passed as parameters to 
the actual function in object and the returning value of the method. If 
we want catch other variables we must change the Source Code ( not 
available in black-box application ) and include this variables in that 
jointpoint

2) If we want to access an object at runtime, we need to know the type 
of that object. So if we don't know the source code we can't access to 
that object. There is a manner to avoid this?

This two issues make very difficult create an aspect that automatically 
profiling black-box applications

thank you for replies, best regards

-- 
Fabiano Ricci

  HomePage   --:. http://www.stalsy.it
  Blog       --:. http://blog.stalsy.com
  Public Key --:. http://www.stalsy.it/key.php
  E-Mail     --:. faricci at gmail.com || stalsy at stalsy.it
  ICQ        --:. 302346155
  MSN        --:. faricci at lycos.it




More information about the discuss mailing list