Hi,
I'm trying to intercept remove() calls on one of my entity beans on the
caller's side. Binding looks like this:
| @Bind(pointcut = "call(*
$instanceof{com.something.interfaces.Account}->remove())")
|
(I've also tried without $instanceof.)
However it doesn't get intercepted. I've patched aopc to get some more messages
of it and run it in verbose mode:
anonymous wrote :
| [debug] Inspecting call at RemoveExpiredAccoutsJob.java: 62
| [debug] MethodCall does not match: call(*
$instanceof{com.something.interfaces.Account}->remove())
|
line 62 actually contains accout.remove() call.. all necessary classes are in
the classpath. May be it happens because remove() is actually inherited from
EJBObject? Or what I'm doing wrong?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940277#3940277
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940277
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user