You are getting the error because the Interceptor is in the same package expression as
the class you are trying to intercept. Thus, you have an infinite loop.
Put your interceptors in another package that doesn't match your wildcard.
Bill
View the original post :
Sorry I forgot to specify my environment:
J2SDK 1.4.2_04, JbossAOP 1.0 beta3.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841186#3841186
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841186
If I change jboss-aop.xml to
?xml version=1.0 encoding=UTF-8?
aop
bind pointcut=execution(public * es.pfc.test.TestAOP-*(..))
interceptor class=es.pfc.test.aop.MethodAuthorizationInterceptor/
/bind
/aop
The sample works fine, but I don't know why?
View the original post :
You must specify the fully qualified name of the class, an $instanceof{} expression or
a $typedef{} expression.
I'm afraid I don't know if your problem is a bug or the expected behaviour.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841188#3841188
Reply to
Sorry, I don't understand you. I'm specifying the fully qualified name of the class:
bind pointcut= execution(public * es.pfc.test.TestAOP-*(..))
but when I use wildcards it doesn't work
bind pointcut= execution(public * es.pfc.test.*-*(..))
View the original post :
I was just stating what you already found out :-) I _think_ you must specify the full
name of the class.
If the error you get using wildcards is by design or a bug I don't know...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841191#3841191
Reply to the
Hehe, sorry, I need to improve my english :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841193#3841193
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841193
---
This