摘要: intern 锁对象 toString 后返回的是不同的 String 对象,需要用 intern 方法直接从常量池中调用字符串对象 synchronized (userId.toString().intern()) proxy 使用 @Transaction 注解开启事务,spring 创建代理对 阅读全文
posted @ 2022-07-03 23:35 xy7112 阅读(24) 评论(0) 推荐(0)
摘要: 准备 @InitBinder 准备 @InitBinder 在整个 HandlerAdapter 调用过程中所处的位置 sequenceDiagram participant adapter as HandlerAdapter participant bf as WebDataBinderFacto 阅读全文
posted @ 2022-07-03 16:51 xy7112 阅读(44) 评论(0) 推荐(0)