Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一些通用的批处理侦听器来注销我的应用程序中配置的所有批处理的一些有用信息。为此,我想从批处理配置中获取配置的可跳过/可重试异常。但是我没有找到任何 API。有没有办法独立于 jsr352 实现来检索此配置?
不,你不会在规范 API 中看到这个或任何类似的东西(所以任何确实存在的东西都是 impl-specific)。
关注点分离的主题隐藏在许多 API 选择的背后,规范中不存在像“作业定义模型”API 这样的东西。