- 博客(20)
- 问答 (3)
- 收藏
- 关注
原创 SpringBoot 集成 Canal 基于 MySQL 做数据同步
SpringBoot 集成 Canal 基于 MySQL 做数据同步,支持单表、多表、全库增量同步
2024-01-18 16:34:41
1239
2
原创 spring整合Mybatis原理
通过@MapperScan导入了MapperScannerRegistrar类@Retention(RetentionPolicy.RUNTIME)@Target(ElementType.TYPE)@Documented@Import(MapperScannerRegistrar.class)@Repeatable(MapperScans.class)public @interface MapperScan {}
2021-06-15 17:11:09
295
原创 spring扩展点整理
1、BeanDefinitionRegistryPostProcessor在Spring启动的过程中可以用来注册、移除、修改BeanDefinition
2021-06-15 12:51:05
257
原创 spring源码系列---spirngMvc
1、HandlerMapping中的url什么时候放进去的?以前刚开始工作的时候我记得这个源码流程大概就能说出来,网上资料也是一大堆,但是HandlerMapping中的url什么时候放jin'q
2021-06-09 10:27:38
246
2
原创 spring源码系列---推断构造方法
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#createBeanInstance
2021-06-08 16:50:53
395
原创 spring源码系列---依赖注入
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#doCreateBean
2021-06-07 16:51:53
431
2
原创 spring源码系列---扫描与解析配置类
org.springframework.context.support.AbstractApplicationContext#refreshpublic void refresh() throws BeansException, IllegalStateException { synchronized (this.startupShutdownMonitor) { // 准备刷新的上下文 // Prepare this context for refreshing. prepar
2021-06-06 01:07:04
462
1
原创 spring源码系列---事务
@EnableTransactionManagement 声明式事物,在SpringBoot中不需要写这个注解,因为已经开启了启动配置spring-boot-autoconfigure-2.2.13.RELEASE.jar,在META-INF下的spring.factories文件中配置了开启自动配置的类EnableAutoConfiguration=\TransactionAutoConfiguration...
2021-06-04 18:05:40
515
1
原创 spring源码系列---AOP
@EnableAspectJAutoProxy 开启aop@Target(ElementType.TYPE)@Retention(RetentionPolicy.RUNTIME)@Documented@Import(AspectJAutoProxyRegistrar.class)public @interface EnableAspectJAutoProxy { /** * Indicate whether subclass-based (CGLIB) proxies are to b
2021-06-04 16:49:09
254
1
原创 spring源码系列---spring启动流程
测试类public static void main(String[] args) {// ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring-config.xml"); AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationConte
2021-06-04 15:05:12
292
1
原创 tomcat源码系列---接收请求
org.apache.tomcat.util.net.NioEndpoint接收网络请求的处理类,其中包含几个重要的
2021-06-04 00:23:25
889
2
原创 tomcat源码系列---结果响应
org.apache.catalina.connector.CoyoteAdapter#servicepublic void service(org.apache.coyote.Request req, org.apache.coyote.Response res) throws Exception { Request request = (Request) req.getNote(ADAPTER_NOTES); Response respon
2021-06-02 17:36:39
651
原创 tomcat源码系列---请求处理
NioEndpoint.Acceptor#run serverSock.accept() 接收请求 NioEndpoint#setSocketOptions 处理Socket连接 NioEndpoint.Poller#register NioEndpoint.Poller#addEvent 添加到队列SynchronizedQueue<PollerEvent> NioEndpoint.Poller#run 轮询事件 NioEndpoint.Poller#proc.
2021-05-31 17:47:05
467
空空如也
启动jboss报错,在线等!先谢谢各位!
2016-07-10
spring 注入 dao,引用的时候为null
2016-05-13
maven项目下的依赖吗maven dependencie老是丢失
2016-03-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅