23 lines
1.5 KiB
XML
23 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
|
|
<zhiqim-config>
|
|
|
|
<group id="httpd" desc="HTTP服务">
|
|
<item key="context" value="httpd.root" type="protected" desc="HTTP服务下包括的上下文环境,多个用逗号隔开" />
|
|
<item key="scheme" value="HTTP" type="protected" desc="HTTP或HTTPS协议" />
|
|
<item key="port" value="8999" type="protected" desc="监听端口" />
|
|
<item key="io" value="NIO" type="protected" desc="可选,IO方式,AIO|BIO|NIO,默认NIO" />
|
|
<item key="minPoolSize" value="20" type="protected" desc="HTTP处理线程池最小值" />
|
|
<item key="maxPoolSize" value="500" type="protected" desc="HTTP处理线程池最大值" />
|
|
</group>
|
|
|
|
<group id="httpd.root" desc="HTTP根上下文环境">
|
|
<item key="path" value="/admin" type="protected" desc="必须,上下文环境路径" />
|
|
<item key="resourceType" value="directory" type="protected" desc="资源目录类型classpath|directory" />
|
|
<item key="resourcePath" value="./resource" type="protected" desc="资源目录" />
|
|
<item key="welcomeUrl" value="/index.htm" type="protected" desc="欢迎页" />
|
|
<item key="zmr.orm" value="orm" type="protected" desc="管理台对应的数据库映射" />
|
|
<item key="zmr.orm.opr" value="orm" type="protected" desc="管理台对应的操作员与组织数据库映射,用于共享" />
|
|
</group>
|
|
|
|
</zhiqim-config> |