[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Re routing calls
|
You should try the wormhole pattern described in Ramnivas' book "AspectJ in
Action". See this article on TSS
http://www.theserverside.com/articles/article.tss?l=AspectOrientedRefactoringPart2
or buy a copy of the book!
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
<duvelbier-tsmets@xxxxxxxxx>@eclipse.org on 13/04/2005 10:38:53
Please respond to duvelbier-tsmets@xxxxxxxxx; Please respond to
aspectj-users@xxxxxxxxxxx
Sent by: aspectj-users-bounces@xxxxxxxxxxx
To: aspectj-users@xxxxxxxxxxx
cc:
Subject: [aspectj-users] Re routing calls
I seem to be missing someting in the way I could genralize this neatly...
We have finder methods like "findEmployeeByCriteria(Criteria criteria)"
I can find all those methods and intercept the calls.
What I want is a generic way of adding a parameter to the calls. You gessed
it :
"findEmployeeByCriteria(Criteria criteria, User
user)"
I know how to route one call but I find it hard to make it generic whithout
using reflexion...
Any hint is welcome,
\T,
Anyone can write software a computer understands;
let's write software that people understand.
K. Beck
T. : +32 (0)2 742 05 94
M. : +32 (0)497 44 68 12
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users