-
Jan 9th, 2010, 11:22 PM
#1
Tricky Issue: Around Advice for scanning target methods parameters
@Around("execution(* com.abc.processor.*.*(..))")
public Object examineParameters(ProceedingJoinPoint pjp, ???????????????)
throws Throwable
{
String newPattern = ???????????????????????????
return pjp.proceed(new Object[] {newPattern});
}
-----------------------
I am trying to build an around advice for printing out all target methods parameters. The problem is that the target methods could have any signatures.
Is spring AOP even supports ways for capturing any unknown method parameters signatures, so that any parameters are available for an advice method?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules