摘要:
servlet3.0异步: 加上asyncSupported=true使支持异步 package com.atguigu.servlet; import java.io.IOException; import javax.servlet.AsyncContext; import javax.serv 阅读全文
posted @ 2020-03-12 15:40
Arbitrary233
阅读(435)
评论(0)
推荐(0)
摘要:
一、servlet3.0规范 1、新增的注解支持 在servlet3.0之前的话,我们要添加Servlet、Filter、Listener都需要在web.xml中注册,而在servlet3.0添加了注解支持: @WebServlet: 用于将一个类声明为 Servlet,该注解将会在部署时被容器处理 阅读全文
posted @ 2020-03-12 15:25
Arbitrary233
阅读(446)
评论(0)
推荐(1)
摘要:
一、总体流程 AnnotationConfigApplicationContext类的构造器方法 public AnnotationConfigApplicationContext(Class<?>... componentClasses) { this(); register(componentC 阅读全文
posted @ 2020-03-12 14:41
Arbitrary233
阅读(280)
评论(0)
推荐(0)
摘要:
1、扩展原理-BeanFactoryPostProcessor BeanFactoryPostProcessor * 扩展原理: * BeanPostProcessor:bean后置处理器,bean创建对象初始化前后进行拦截工作的 * * 1、BeanFactoryPostProcessor:bea 阅读全文
posted @ 2020-03-12 14:27
Arbitrary233
阅读(442)
评论(0)
推荐(0)

浙公网安备 33010602011771号