[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-users] Why problem with Ejb.remove()?
|
- From: rmahmood <rashid_m180@xxxxxxxxx>
- Date: Mon, 10 Nov 2008 07:47:56 -0800 (PST)
- Delivered-to: aspectj-users@eclipse.org
Hi All,
I used the following pointcut to advice ejb remove method
public pointcut ejbRemove() : call(public void
javax.ejb.EJBObject+.remove(..));
in my around advice
void around() : ejbRemove() {
Object targetObject = thisJoinPoint.getTarget();
MethodSignature methodSignature =
(MethodSignature)thisJoinPoint.getSignature();
Method method = methodSignature.getMethod();
...............
}
why Method method = methodSignature.getMethod(); always returns null?
methodSignature.getMethod() works fine for all other ejb Calls.
Can anybody tell me why it happens?
Thanx
--
View this message in context: http://www.nabble.com/Why-problem-with-Ejb.remove%28%29--tp20422432p20422432.html
Sent from the AspectJ - users mailing list archive at Nabble.com.