Err, that should be MethodSignature not MethodInvocation.
Thanks again.
Type: Posts; User: olve; Keyword(s):
Err, that should be MethodSignature not MethodInvocation.
Thanks again.
I was a bit fast, yes, and I am sorry, I was staring myself blind on the Signature class, not having the getMethod method.
And I was not aware that I could safely downcast to MethodInvocation...
What if an argument is null? This is what I do now, but I run in to problems when a method argument is null.
Thank you for your prompt reply!
In our cache implementation we have a notion of a failoverbean, that has a method with the same signature as the adviced method.
I set the name of the...
I am using Spring 2.5.1, and have started using annotation based AOP. I hacve a cache implemented by using an around advise, and the method signature is:
aAround("some.class")
...
Problem solved.
Sorry for being a bit unclear... I was trying to use the Attributes interface to do method based security interception. It works well in a test case, but in our real application it...
I see now that this (the quote above) has nothing to do with my problems, a JoinPoint is aspectj, while a MethodInvocation is aopalliance. In my case I certainly don't use both, and i any case...
I have some problems regarding the use of java annotations for acegi (from http://up-u.com/?p=183) and MethodSecurityInterceptor together with TransactionProxyFactoryBean.
The problem is as...