08 2019 档案

摘要:情境领导 概述 情景领导理论,由行为学家保罗·赫塞博士(Paul.Hersey)和,肯尼思·布兰查德(Kenneth Blanchard)提出 领导者的领导方式,应同下属员工的成熟程度相适应,在下属员工渐趋成熟时,领导者依据下属的成熟水平选择正确的领导风格取得成功。 司马迁 《货殖列传》:“故善者因 阅读全文
posted @ 2019-08-26 10:25 技术-刘腾飞 阅读(1263) 评论(0) 推荐(0)
摘要:轮询,长轮询 轮询 轮询:客户端定时向服务器发送Ajax请求,服务器接到请求后马上返回响应信息并关闭连接。 优点:后端程序编写比较容易。 缺点:请求中有大半是无用,浪费带宽和服务器资源。 实例:适于小型应用。 长轮询 长轮询:客户端向服务器发送Ajax请求,服务器接到请求后hold住连接,直到有新消 阅读全文
posted @ 2019-08-26 10:02 技术-刘腾飞 阅读(2568) 评论(0) 推荐(1)
摘要:自定义BeanDefinitionRegistryPostProcessor 概述 BeanDefinitionRegistryPostProcessor继承自BeanFactoryPostProcessor,是一种比较特殊的BeanFactoryPostProcessor。BeanDefiniti 阅读全文
posted @ 2019-08-22 20:18 技术-刘腾飞 阅读(1699) 评论(0) 推荐(0)
摘要:springboot自定义Starter 自定义Starter命名规则 注意artifactId的命名规则,Spring官方Starter通常命名为spring boot starter {name}如 spring boot starter web, Spring官方建议非官方Starter命名应 阅读全文
posted @ 2019-08-22 20:18 技术-刘腾飞 阅读(305) 评论(0) 推荐(0)
摘要:ApplicationContextAware获取bean 概述 在某些特殊的情况下,Bean需要实现某个功能,但该功能必须借助于Spring容器才能实现,此时就必须让该Bean先获取Spring容器,然后借助于Spring容器实现该功能。为了让Bean获取它所在的Spring容器,可以让该Bean 阅读全文
posted @ 2019-08-20 16:44 技术-刘腾飞 阅读(1259) 评论(0) 推荐(0)
摘要:springBoot的事件机制 GenericApplicationListener用法 什么是ApplicationContext? 它是Spring的核心,Context我们通常解释为上下文环境,但是理解成容器会更好些。 ApplicationContext则是应用的容器。 Spring把Bea 阅读全文
posted @ 2019-08-20 16:43 技术-刘腾飞 阅读(2546) 评论(0) 推荐(0)
摘要:自定义BeanDefinitionRegistryPostProcessor 概述 BeanDefinitionRegistryPostProcessor继承自BeanFactoryPostProcessor,是一种比较特殊的BeanFactoryPostProcessor。BeanDefiniti 阅读全文
posted @ 2019-08-17 16:44 技术-刘腾飞 阅读(1253) 评论(0) 推荐(0)
摘要:springboot自定义Starter 自定义Starter命名规则 注意artifactId的命名规则,Spring官方Starter通常命名为spring boot starter {name}如 spring boot starter web, Spring官方建议非官方Starter命名应 阅读全文
posted @ 2019-08-17 16:44 技术-刘腾飞 阅读(943) 评论(0) 推荐(0)
摘要:ApplicationContextAware 概述 在某些特殊的情况下,Bean需要实现某个功能,但该功能必须借助于Spring容器才能实现,此时就必须让该Bean先获取Spring容器,然后借助于Spring容器实现该功能。为了让Bean获取它所在的Spring容器,可以让该Bean实现Appl 阅读全文
posted @ 2019-08-17 16:43 技术-刘腾飞 阅读(216) 评论(0) 推荐(0)