com.dexcoder.commons.bean.BeanConverterConfig Maven / Gradle / Ivy
The newest version!
package com.dexcoder.commons.bean;
import java.lang.ref.SoftReference;
import java.util.HashMap;
import java.util.Map;
/**
* Java Bean 对象转换器配置
*
* User: liyd
* Date: 13-5-10 下午1:56
* version $Id: BeanConverterConfig.java, v 0.1 Exp $
*/
public class BeanConverterConfig {
/** 包含 BeanConverter 的 ContextClassLoader 实例索引 */
private static final ContextClassLoaderLocal BEANS_BY_CLASSLOADER = new ContextClassLoaderLocal() {
// 创建默认的实例
protected Object initialValue() {
return new BeanConverterConfig();
}
};
/** 对象的转换器 */
private SoftReference
© 2015 - 2025 Weber Informatics LLC | Privacy Policy