I'm still experimenting with and learning AOP, so this might be one of those errors
that's linked to my only partial understanding of the whole AOP thing.
What I would like to do is intercept calls to remote EJB objects. My first attemp
resulted in:
which doesn't work at all. Now, I understand it correct that's because we're dealing
with interfaces here and it's not possible to place pointcuts in there.
So my second attemp is:
Which works ok if I enter some data as argument. So for instance "int" instead of
"..". But if I put ".." I get the following error:
java.lang.ExceptionInInitializerError
| Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to
figure out calledmethod of a caller pointcut
| at
org.jboss.aop.ClassAdvisor.resolveCallerMethodInfo(ClassAdvisor.java:1262)
| at MyClient.(HelloWorldClient.java)
|
I'm guessing that I either have too many wildcards in my pointcut expression for the
system to handle or that there's some calls going on during initialisation that I am
intercepting but don't want to. I tried solving that last problem by adding a
"withincode" statement but the exception remains the same.
Can any one shed some light on the reason why things go wrong?
TIA
Peter
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837750#3837750
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837750
---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development