Show Table of Contents
10.5.6. 对部署扫描器属性的引用
部署扫描器包含下列开放给管理 CLI 且可用
write-attribute 进行配置的属性。关于配置选项的更多信息,请参考 第 10.5.8 节 “用管理 CLI 配置部署扫描器”。
表 10.2. 部署扫描器属性
| 实例类型 | 描述 | 类型 | 默认值 |
|---|---|---|---|
auto-deploy-exploded | 允许自动部署展开内容而无需 .dodeploy marker 文件。我们仅推荐用于基本的部署场景,以防止在开发人员或操作系统进行修改时发生展开的应用程序的部署。 | 布尔值(Boolean) | False |
auto-deploy-xml | 允许自动部署 XML 内容而无需 .dodeploy marker 文件。 | 布尔值(Boolean) | True |
auto-deploy-zipped | 允许自动部署压缩内容而无需 .dodeploy marker 文件。 | 布尔值(Boolean) | True |
deployment-timeout | 部署扫描器在取消部署前允许尝试部署的时间。 | Long | 600 |
path | 定义要扫描的实际的文件系统路径。如果指定了 relative-to 属性,path 值将充当该目录或路径的相对路径。 | 字符串 | deployments |
relative-to | 对在服务器配置 XML 文件的 paths 部分定义的文件系统路径的引用。 | 字符串 | jboss.server.base.dir |
scan-enabled | 允许在启动时及每隔 scan-interval 自动扫描应用程序。 | 布尔值(Boolean) | True |
scan-interval | 扫描资料库的时间间隔(毫秒)。小于 1 的值表示扫描器只有在启动时才操作。 | Int | 5000 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.