1:xxl-job-executor项目实现根据注解扫描执行XxlJobSpringExecutor里面需要实例化的方法(XxlJobSpringExecutor实例化),XxlJobSpringExecutor该类实现了spring启动就会加载ApplicationContextAware, SmartInitializingSingleton, DisposableBean三个接口;在实现方法中,根据自定义注解@XxlJob获取需要执行类,并且把他们放到map中,另外启动线程创建根据netty创建socker服务端
2:xxl-job-admin从数据库中查询需要执行的任务,通过http调用executor提供的socker连接