gpt4 book ai didi

java - JSR 352 - 动态作业加载

转载 作者:行者123 更新时间:2023-12-02 06:33:05 26 4
gpt4 key购买 nike

第 10.6 章中的规范说:

Implementation-specific loader

The batch runtime implementation must provide an implementation-specific means by which Job XML references are resolved to a Job XML document.

The purpose of an implementation-specific loader is to enable Job XML loading from outside of the application archive, such as from a repository, file system, remote cache, or elsewhere.

我想知道在哪里可以找到有关 IBM 引用实现的文档。具体的工作负载?

我想在运行时添加新的作业定义。包含作业定义文件的目录似乎加载了一次。

最佳答案

对于 Glassfish 中的 RI,我们提供了一种特定于实现的方法,主要是作为一种形式(我不确定是否/在哪里记录了它)。

该机制是从JobOperator.start(JOB_NAME,...)
从: $JSL_DIR/JOB_NAME.xml

如果有人仍然感兴趣,我可以用其余的说明来完成这个答案,以完成这项工作。

关于java - JSR 352 - 动态作业加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19904750/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com