The system-config Element"
From Documentation
m |
|||
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-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> |
Revision as of 09:19, 11 August 2011
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-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>
<url-encoder-class>my.URLEncoder</url-encoder-class>
<web-app-class>my.WebApp</web-app-class>
</system-config>