#191 Custom converter with injected mapper

Dozer v5.2
closed
5
2010-01-04
2009-08-04
No

There are situations than it's useful to use a mapper instance explicitly in CustomConverter. For example, then we are working with already mapped nested Object in List <> Map conversations. So, additional CustomConverter interface with injected Mapper instance support will be useful, something like:

public interface CustomMapperInjectedConverter extends CustomConverter {
CustomConverter setBeanMapper(Mapper mapper);
}

Discussion

  • dmitry (lv)

    dmitry (lv) - 2009-08-04
    • labels: --> Mapping Process Improvement
    • milestone: --> Dozer v5.2
    • assigned_to: nobody --> buzdin
     
  • dmitry (lv)

    dmitry (lv) - 2010-01-04

    done in trunk. Use MapperAware interface on your custom converter.

     
  • dmitry (lv)

    dmitry (lv) - 2010-01-04
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks