Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] bsh assignment not trigger set pointcut

Is the problem here that the code that beanshell generates and compiles
isn't passed through ajc, so that join points in that code aren't
available to advice?



> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx 
> [mailto:aspectj-users-admin@xxxxxxxxxxx] On Behalf Of John M. Adams
> Sent: February 16, 2004 12:58 PM
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] bsh assignment not trigger set pointcut
> 
> 
> I was fiddling around recently and found that making an 
> assignment in the Beanshell did not match a set pointcut.
> 
> 	pointcut writeField() : set(* trans.ModelObject+.*) 
> 		&& !set(* trans.ModelObject+.deps);
> 
> However, if I did the same assignment inside a 
> trans.ModelObject+ method, the join point was hit.  That 
> doesn't seem right.  Comments? Maybe Beanshell is reaching 
> around the mechanism that AspectJ is trapping?
> 
> -- 
> John M. Adams
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx 
> http://dev.eclipse.org/mailman/listinfo/aspect> j-users
> 



Back to the top