Configuration

Dozer configuration properties can be customized via an optional Dozer properties file. By default, Dozer will look for a file named dozer.properties to load configuration properties. If a properties file is not found or specified, default values will be used.

Dozer is distributed with an example dozer.properties file in /config that shows the various options. Just put the example file in your classpath and customize it.

An alternative Dozer properties file can be specified via the dozer.configuration system property. ex) -Ddozer.configuration=someDozerConfigurationFile.properties

Table 1. Dozer Configuration Properties
Property Name Description Valid Values Default

dozer.el.enabled

Specifies whether during Xml mappings parsing Dozer will recognize EL expressions.

true

false

false

dozer.cache.converter-by-dest-type-maxsize

Specifies the max size for one of Dozers internal caches.

0 - Long.MAX_VALUE

10000

dozer.cache.super-type-maxsize

Specifies the max size for one of Dozers internal caches

0 - Long.MAX_VALUE

10000

dozer.beans.proxy-resolver-bean

Specifies implementation of DozerProxyResolver to be used

Valid class name

Default implementation

dozer.beans.class-loader-bean

Specifies implementation of DozerClassLoader to be used

Valid class name

Default implementation

results matching ""

    No results matching ""