Package org.dozer.config

Examples of org.dozer.config.BeanContainer


      fieldMap.setCopyByReference(true);
    }
  }

  public static Class<?> loadClass(String name) {
    BeanContainer container = BeanContainer.getInstance();
    DozerClassLoader loader = container.getClassLoader();
    return loader.loadClass(name);
  }
View Full Code Here


    DozerClassLoader loader = container.getClassLoader();
    return loader.loadClass(name);
  }

  public static Class<?> getRealClass(Class<?> clazz) {
    BeanContainer container = BeanContainer.getInstance();
    DozerProxyResolver proxyResolver = container.getProxyResolver();
    return proxyResolver.getRealClass(clazz);
  }
View Full Code Here

    DozerProxyResolver proxyResolver = container.getProxyResolver();
    return proxyResolver.getRealClass(clazz);
  }

  public static <T> T deProxy(T object) {
    BeanContainer container = BeanContainer.getInstance();
    DozerProxyResolver proxyResolver = container.getProxyResolver();
    return proxyResolver.unenhanceObject(object);
  }
View Full Code Here

    DozerProxyResolver proxyResolver = container.getProxyResolver();
    return proxyResolver.unenhanceObject(object);
  }

  public static boolean isProxy(Class<?> clazz) {
    BeanContainer container = BeanContainer.getInstance();
    DozerProxyResolver proxyResolver = container.getProxyResolver();
    return proxyResolver.isProxy(clazz);
  }
View Full Code Here

TOP

Related Classes of org.dozer.config.BeanContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.