springboot组件化编程相关知识:
1、自定义注解
2、全局获取注解类型 getApplicationContext().getBeansWithAnnotation(注解.class)
3、全局获取接口类型 getApplicationContext().getBeansOfType(接口.class)
4、全局获取已经注册bean类对象 getApplicationContext().getBean(类.class)
5、全局获取未注册bean的类对象 Class.forName(类.class)