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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -