Get Declared Annotations in Inteceptor

2012-05-25 Thread SudhirSahoo
I am sorry, if the question is a repeated one. I am facing problem to get the declared method in my action class. Below is is my code. String actionMethod = invocation.getProxy().getMethod(); Method method = invocation.getAction().getClass()*.getDeclaredMethod(); // Here is my problem.* A

Re: Get Declared Annotations in Inteceptor

2012-05-25 Thread Maurizio Cucchiara
Did you already try this: method = invocation.getAction().getClass().getMethod(actionMethod, new Class[0]); Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara O