- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 经典Spring AOP
AOP为应用程序开发者定义了一组高层次的概念,用于表达横切关注点。首先,在某个特定的执行点所执行的横切动作被称封装在通知(Advice)里。例如,可将日志和验证动作封装在一个或多个通知里。经典的Spring AOP支持4种类型的通知,它们分别作用于执行点的不同时间。在正式的AOP定义里,存在多个类型的执行点,包括方法执行,构造器和字段访问。不过,Spring AOP只支持方法执行。所以,4种经
2012-04-17 16:22:54 457
原创 动态代理
JDK动态代理需要一个invocation handler来处理方法的调用,该handler需要实现InvocationHandler接口。第一个参数代表代理实例,第二个是正在代理的方法,第三个是方法的参数。package java.lang.reflect;public interface InvocationHandler{ public Object invoke
2012-04-17 15:26:58 283
转载 js获得浏览器窗口大小
关于获取各种浏览器可见窗口大小的一点点研究function getInfo(){var s = "";s = " 网页可见区域宽:" document.body.clientWidth;s = " 网页可见区域高:" document.body.clientHeight;s = " 网页可见区域宽:" document.body.offsetWidth " (包括边线和
2012-04-03 17:43:58 346
reactive design patterns
2018-06-11
零售管理 第6版 高清 带索引书签目录
2018-05-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人