The system-config Element"

From Documentation
 
(One intermediate revision by one other user 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>
 
<file-size-threshold>1024</file-size-threshold>
 
<id-generator-class>my.IdGenerator</id-generator-class>
 
<id-generator-class>my.IdGenerator</id-generator-class>
Line 23: 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>
<url-encoder-class>my.URLEncoder</url-encoder-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


The system-config Element


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>




Last Update : 2016/02/17

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.