private <T> Class<? extends T> loadBeanType(String classLoaderName, DozerClassLoader classLoader, Class<T> iface) {
        Class<?> beanType = classLoader.loadClass(classLoaderName);
        if (beanType != null && !iface.isAssignableFrom(beanType)) {
            MappingUtils.throwMappingException("Incompatible types: " + iface.getName() + " and " + classLoaderName);
        }

        return (Class<? extends T>)beanType;
    }
Creates an instance of {@link Mapper}. Mapper is configured according to the current builder state.
<p>
Subsequent calls of this method will return new instances.

@return new instance of {@link Mapper}.
core/src/main/java/com/github/dozermapper/core/DozerBeanMapperBuilder.java