[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Using AspectJ and mock objects--again
|
>
> Keith,
>
> Glad you liked my article. <plug>You should also check out my book:
> Mastering AspectJ.</plug>
Can't... resist... must.. buy... book...
:-)
>
> In answer to question 1: I can't tell by inspection what
> might be going
> wrong. I suggest using either AJDT or AjBrowser to see if
> your pointcuts are
> accidentally advising anything you don't mean them to. You
> can also print
> information from thisJoinPoint in your advice to get a better
> idea of where
> the advice is executing.
Thanks, I'll keep that in mind for my next debugging issue.
>
> In answer to question 2: Method level overrides are verbose
> in AspectJ...
I think I've solved my problem via Virtual Mock Objects. www.xprogramming.com/xpmag
It's a really slick solution that will have the least impact on my code for now.
>>
> Hope I've helped,
> Nick
Lots! My next project is to try to figure out some sort of transactional aspect
for our app.
regards,
Keith Sader.