java - Get method parameter instance in Pointcut implementation -


i have 1 requirement intercepted method's parameter value pointcut implementation follows.

intercepted method :

public void execute(object mapvalues)throws throwable{ .... } 

and in aspect implementation

@afterthrowing(pointcut = "execution(*com.adhocjob.execute(..))", throwing="ex")         public void afterthrowing(joinpoint pjp,throwable ex) {            methodsignature signature = (methodsignature) pjp.getsignature(); .... } 

is possible instance of "mapvalues" parameter in afterthrowing method. please put light on it.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -