protected MappingProcessor(ClassMappings classMappings, Configuration globalConfiguration, CacheManager cacheMgr, StatisticsManager statsMgr, List<CustomConverter> customConverterObjects, DozerEventManager eventManager, CustomFieldMapper customFieldMapper, Map<String, CustomConverter> customConverterObjectsWithId) { this.classMappings = classMappings; this.globalConfiguration = globalConfiguration; this.statsMgr = statsMgr; this.customConverterObjects = customConverterObjects; this.eventMgr = eventManager; this.customFieldMapper = customFieldMapper; this.converterByDestTypeCache = cacheMgr.getCache(DozerCacheType.CONVERTER_BY_DEST_TYPE.name()); this.superTypeCache = cacheMgr.getCache(DozerCacheType.SUPER_TYPE_CHECK.name()); this.customConverterObjectsWithId = customConverterObjectsWithId; }
protected MappingProcessor(ClassMappings classMappings, Configuration globalConfiguration, CacheManager cacheMgr, StatisticsManager statsMgr, List<CustomConverter> customConverterObjects, DozerEventManager eventManager, CustomFieldMapper customFieldMapper, Map<String, CustomConverter> customConverterObjectsWithId, List<FieldMappingCondition> conditionObjects, Map<String, FieldMappingCondition> conditionObjectsWithId, List<CollectionItemDiscriminator> collectionItemDiscriminatorObjects, Map<String, CollectionItemDiscriminator> collectionItemDiscriminatorObjectsWithId) { this.classMappings = classMappings; this.globalConfiguration = globalConfiguration; this.statsMgr = statsMgr; this.customConverterObjects = customConverterObjects; this.eventMgr = eventManager; this.customFieldMapper = customFieldMapper; this.converterByDestTypeCache = cacheMgr.getCache(DozerCacheType.CONVERTER_BY_DEST_TYPE.name()); this.superTypeCache = cacheMgr.getCache(DozerCacheType.SUPER_TYPE_CHECK.name()); this.customConverterObjectsWithId = customConverterObjectsWithId; this.conditionObjects = conditionObjects; this.conditionObjectsWithId = conditionObjectsWithId; this.collectionItemDiscriminatorObjects = collectionItemDiscriminatorObjects; this.collectionItemDiscriminatorObjectsWithId = collectionItemDiscriminatorObjectsWithId; if (customConverterObjectsWithId != null) { for (CustomConverter converter : customConverterObjectsWithId.values()) { if (converter instanceof MapIdConverterAggregator) { mapIdConverterAggregator = (MapIdConverterAggregator)converter; } } } }
this.eventMgr = eventManager; this.customFieldMapper = customFieldMapper; this.converterByDestTypeCache = cacheMgr.getCache(DozerCacheType.CONVERTER_BY_DEST_TYPE.name()); this.superTypeCache = cacheMgr.getCache(DozerCacheType.SUPER_TYPE_CHECK.name()); this.customConverterObjectsWithId = customConverterObjectsWithId; this.conditionObjects = conditionObjects;