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
Post a Comment