Skip to content

Instantly share code, notes, and snippets.

@tobiasosDev
Last active July 19, 2019 05:20
Show Gist options
  • Select an option

  • Save tobiasosDev/808117a38854c6c4c285ad4d5d2a5a8a to your computer and use it in GitHub Desktop.

Select an option

Save tobiasosDev/808117a38854c6c4c285ad4d5d2a5a8a to your computer and use it in GitHub Desktop.

Revisions

  1. tobiasosDev revised this gist Jul 19, 2019. No changes.
  2. tobiasosDev revised this gist Jul 19, 2019. No changes.
  3. tobiasosDev revised this gist Jul 19, 2019. No changes.
  4. tobiasosDev revised this gist Jul 19, 2019. No changes.
  5. tobiasosDev revised this gist Jun 11, 2019. No changes.
  6. tobiasosDev created this gist Jun 11, 2019.
    14 changes: 14 additions & 0 deletions configuration.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    @org.springframework.context.annotation.Configuration
    public class Configuration {

    @Bean(name = "org.dozer.Mapper")
    public DozerBeanMapper dozerBean() {
    List<String> mappingFiles = Arrays.asList(
    "dozerMapper.xml"
    );

    DozerBeanMapper dozerBean = new DozerBeanMapper();
    dozerBean.setMappingFiles(mappingFiles);
    return dozerBean;
    }
    }