The system-config Element"
From Documentation
m |
Jumperchen (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
<engine-class>my.UiEngine</engine-class> | <engine-class>my.UiEngine</engine-class> | ||
<failover-manager-class>my.FailoverManager</failover-manager-class> | <failover-manager-class>my.FailoverManager</failover-manager-class> | ||
+ | <file-item-factory-class>my.DiskFileItemFactory</file-item-factory-class> | ||
+ | <file-repository>/Users/foo/bar</file-repository> | ||
+ | <file-size-threshold>1024</file-size-threshold> | ||
<id-generator-class>my.IdGenerator</id-generator-class> | <id-generator-class>my.IdGenerator</id-generator-class> | ||
<max-spare-threads>100</max-spare-threads> | <max-spare-threads>100</max-spare-threads> | ||
Line 22: | Line 25: | ||
</upload-charset-finder-class> | </upload-charset-finder-class> | ||
<ui-factory-class>my.UiFactory</ui-factory-class> | <ui-factory-class>my.UiFactory</ui-factory-class> | ||
− | |||
<web-app-class>my.WebApp</web-app-class> | <web-app-class>my.WebApp</web-app-class> | ||
</system-config> | </system-config> |
Latest revision as of 06:54, 17 February 2016
Customizes ZK's default behavior. For example,
<system-config>
<au-writer-class>my.AuWriter</au-writer-class>
<cache-provider-class>my.CacheProvider</cache-provider-class>
<crawlable>false</crawlable>
<disable-event-thread />
<engine-class>my.UiEngine</engine-class>
<failover-manager-class>my.FailoverManager</failover-manager-class>
<file-item-factory-class>my.DiskFileItemFactory</file-item-factory-class>
<file-repository>/Users/foo/bar</file-repository>
<file-size-threshold>1024</file-size-threshold>
<id-generator-class>my.IdGenerator</id-generator-class>
<max-spare-threads>100</max-spare-threads>
<max-suspended-threads>100</max-suspended-threads>
<max-upload-size>5120</max-upload-size>
<max-process-time>3000</max-process-time>
<response-charset>UTF-8</response-charset>
<session-cache-class>my.SessionCache</session-cache-class>
<upload-charset>UTF-8</upload-charset>
<upload-charset-finder-class>my.CharsetFinder
</upload-charset-finder-class>
<ui-factory-class>my.UiFactory</ui-factory-class>
<web-app-class>my.WebApp</web-app-class>
</system-config>