plugin       

Plugin

两种方式实现插件模式

  1. 预先加载所有插件到容器(spring(注入bean和后置处理器)、mybatis)

  2. spi(dubbo)