PurposeofBeanannotationsfornon-JobmethodsintrivialSpringBatchexample我正在熟悉整个Spring堆栈。我在这里指的是spring.io上发布的一个简单的SpringBatch示例:https://spring.io/guides/gs/batch-processing/作业配置类BatchConfiguration中的每个方法都使用@Bean进行注释。除了作业方法importUserJob之外,注释由创建作业的单例类型Bean方法调用的单例类型Bean辅助方法有什么意义吗?在我看来,通过从除importUserJob之外的所有方