摘要:
JavaScript中的this是指包含它(this)的函数作为方法被调用时所属于的对象 例如 全局函数默认是window对象 ,如果有一个全局函数 function checkResult(){ this } checkResult(); 此时this就指window对象,alert,consol 阅读全文
posted @ 2019-01-08 11:29
zincredible
阅读(167)
评论(0)
推荐(0)
摘要:
springboot版本1.5.10 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.10.RELEASE</v 阅读全文
posted @ 2019-01-08 11:08
zincredible
阅读(8743)
评论(2)
推荐(0)
摘要:
在正常情况下 spring管理的类可直接调用Ioc容器中的实例,但在一些特殊情况下(例如拦截器中获取dao实例),Bean需要实现某个功能,但该功能必须借助于Spring容器才能实现,此时就必须让该Bean先获取Spring容器, spring提供了ApplicationContextAware接口 阅读全文
posted @ 2019-01-08 10:50
zincredible
阅读(3063)
评论(0)
推荐(0)

浙公网安备 33010602011771号