Hi, I found a similar problem, with a ugly workaround:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=116305#c1
In my case, this work fine:
| <bean id="LoggingAspect" class = "aop.LoggingAspect" />
| <aop:config>
| <aop:aspect id = "MyAspect" ref="LoggingAspect">
| <aop:pointcut id="myCutLogging"
| expression="execution(*
server.persistence.MyDAO.find*(..))"/>
| <aop:before pointcut-ref="myCutLogging"
method="log"/>
| </aop:aspect>
| </aop:config>
|
But this doesn't work (throws the ReflectionWorldException):
| <bean id="LoggingAspect" class = "aop.LoggingAspect" />
| <aop:config>
| <aop:aspect id = "MyAspect" ref="LoggingAspect">
| <aop:pointcut id="myCutLogging"
| expression="execution(*
server.persistence.MyDAO.*(..))"/>
| <aop:before pointcut-ref="myCutLogging"
method="log"/>
| </aop:aspect>
| </aop:config>
|
without the 'find' in the definition of the pointcut.
Somebody knows where is the problem? Thanks
I haven't try the standalone suggestion yet.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005795#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...