org.dozer.config
Class GlobalSettings

java.lang.Object
  extended by org.dozer.config.GlobalSettings

public class GlobalSettings
extends Object

Internal singleton class that holds the global settings used by Dozer. Most of these settings are configurable via an optional Dozer properties file. By default, Dozer will look for a file named dozer.properties to load these configuration properties. If a properties file is not found or specified, default values will be used.

An alternative Dozer properties file can be specified via the dozer.configuration system property.

ex) -Ddozer.configuration=someDozerConfigurationFile.properties

Author:
tierney.matt

Method Summary
 String getClassLoaderName()
           
 int getConverterByDestTypeCacheMaxSize()
           
static GlobalSettings getInstance()
           
protected  String getLoadedByFileName()
           
 String getProxyResolverName()
           
 int getSuperTypesCacheMaxSize()
           
 boolean isAutoregisterJMXBeans()
           
 boolean isElEnabled()
           
 boolean isStatisticsEnabled()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GlobalSettings getInstance()

getLoadedByFileName

protected String getLoadedByFileName()

isAutoregisterJMXBeans

public boolean isAutoregisterJMXBeans()

getConverterByDestTypeCacheMaxSize

public int getConverterByDestTypeCacheMaxSize()

isStatisticsEnabled

public boolean isStatisticsEnabled()

setStatisticsEnabled

public void setStatisticsEnabled(boolean statisticsEnabled)

getSuperTypesCacheMaxSize

public int getSuperTypesCacheMaxSize()

getClassLoaderName

public String getClassLoaderName()

getProxyResolverName

public String getProxyResolverName()

isElEnabled

public boolean isElEnabled()


Copyright © 2005-2011 dozer. All Rights Reserved.