private void loadCustomMappings(List<MappingFileData> allMappings, BeanContainer beanContainer,
                                    PropertyDescriptorFactory propertyDescriptorFactory, BeanMappingGenerator beanMappingGenerator,
                                    DestBeanCreator destBeanCreator) {
        MappingsParser mappingsParser = new MappingsParser(beanContainer, destBeanCreator, propertyDescriptorFactory);
        ClassMapBuilder classMapBuilder = new ClassMapBuilder(beanContainer, destBeanCreator, beanMappingGenerator, propertyDescriptorFactory);
        CustomMappingsLoader customMappingsLoader = new CustomMappingsLoader(mappingsParser, classMapBuilder, beanContainer);

        LoadMappingsResult loadMappingsResult = customMappingsLoader.load(allMappings);

        this.customMappings = loadMappingsResult.getCustomMappings();
        this.globalConfiguration = loadMappingsResult.getGlobalConfiguration();
    }
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