接口的使用
org.aopalliance.intercept.FieldAccess
使用FieldAccess的程序包
-
org.aopalliance.intercept中FieldAccess的使用
参数类型为FieldAccess的org.aopalliance.intercept中的方法修饰符和类型方法说明FieldInterceptor.get(FieldAccess fieldRead) Do the stuff you want to do before and after the field is getted.FieldInterceptor.set(FieldAccess fieldWrite) Do the stuff you want to do before and after the field is setted.