class XPluginImpl implements Plugin {
    @Override
    public void start(AppContext context) {<FILL_FUNCTION_BODY>}

    @Override
    public void stop() throws Throwable {
        JobManager.getInstance().stop();
    }
}

        if (Solon.app().source().getAnnotation(EnableScheduling.class) == null) {
            return;
        }

        //注册 IJobManager
        context.wrapAndPut(IJobManager.class, JobManager.getInstance());

        //允许产生 Scheduler bean
        context.getBeanAsync(Scheduler.class, bean -> {
            JobManager.getInstance().setScheduler(bean);
        });

        //提取任务
        JobExtractor jobExtractor = new JobExtractor(JobManager.getInstance());
        context.beanBuilderAdd(Scheduled.class, ((clz, bw, anno) -> {
            if (bw.raw() instanceof Job) {
                Method method = Job.class.getDeclaredMethods()[0];
                jobExtractor.doExtract(bw, method, anno);
            } else {
                jobExtractor.doBuild(clz, bw, anno);
            }
        }));
        context.beanExtractorAdd(Scheduled.class, jobExtractor);

        //容器加载完后，再启动任务
        context.lifecycle(Integer.MAX_VALUE, () -> {
            JobManager.getInstance().start();
        });
    
<no_super_class>