~~~~~~~~~~~~~~spring aop问题
请问,在spring的aop编程中,
如下方法怎么得到session里的值,或者说怎么向此方法传数据进来。
public class Logs implements MethodBeforeAdvice {
public void before(Method method, Object[] args, Object target)
throws Throwable {
//写日志
}
}
------------------------------------------------------------------
public class Loges implements AfterReturningAdvice {
public void afterReturning(Object arg0, Method arg1, Object[] arg2,
Object arg3) throws Throwable {
//写日志
}
}