Class DozerMapperCustomizationRegistry

java.lang.Object
com.foreach.across.modules.hibernate.util.DozerMapperCustomizationRegistry

@ConditionalOnClass(com.github.dozermapper.core.DozerBeanMapper.class) public class DozerMapperCustomizationRegistry extends Object
Configures a proxy BeanCreationStrategy to support customizing the Dozer Mapper. If multiple BeanCreationStrategys match, the one with the lowest order matches. If no order is specified during registration, the DEFAULT_ORDER is applied.
Since:
4.0.1
Author:
Steven Gentens
See Also:
  • Field Details

  • Constructor Details

    • DozerMapperCustomizationRegistry

      public DozerMapperCustomizationRegistry()
  • Method Details

    • register

      public void register(@NonNull @NonNull DozerMapperCustomizationRegistry.DozerCustomizationRegistrar customizationRegistrar)
    • removeBeanCreationStrategy

      public void removeBeanCreationStrategy(@NonNull @NonNull String name)
      Removes a BeanCreationStrategy with a given name.
      Parameters:
      name - of the strategy to remove
    • removeCustomFieldMapper

      public void removeCustomFieldMapper(@NonNull @NonNull String name)
      Removes a CustomFieldMapper with a given name.
      Parameters:
      name - of the strategy to remove
    • beanCreationStrategyRegistrar

      public static DozerMapperCustomizationRegistry.DozerCustomizationRegistrar<com.github.dozermapper.core.factory.BeanCreationStrategy> beanCreationStrategyRegistrar()
      Creates a registrar for BeanCreationStrategys.
    • customFieldMapperRegistrar

      public static DozerMapperCustomizationRegistry.DozerCustomizationRegistrar<com.github.dozermapper.core.CustomFieldMapper> customFieldMapperRegistrar()
      Creates a registrar for CustomFieldMappers.