duxinglangzi
2022-04-22 de8c2b2a4654893dc2c80f1fe095c165485bee5f
提交 | 用户 | age
de8c2b 1 package com.duxinglangzi.canal.starter.configuration;
D 2
3 import org.springframework.context.annotation.DeferredImportSelector;
4 import org.springframework.core.type.AnnotationMetadata;
5
6 /**
7  * @author wuqiong 2022/4/12
8  * @description
9  */
10 public class CanalConfigurationSelector implements DeferredImportSelector {
11
12     @Override
13     public String[] selectImports(AnnotationMetadata importingClassMetadata) {
14         return new String[]{CanalBootstrapConfiguration.class.getName()};
15     }
16 }