title: Load all dozer xml files in a directory
body: <p>In Dozer  we can inject XML custom mapping files to Dozer via  <strong>setMappingFiles</strong> function. </p>
  
  <pre><code>List myMappingFiles = new ArrayList();
  myMappingFiles.add("dozerBeanMapping.xml");
  myMappingFiles.add("someOtherDozerBeanMappings.xml"); DozerBeanMapper
  mapper = new DozerBeanMapper();
  mapper.setMappingFiles(myMappingFiles);
  </code></pre>
  
  <p>but i have 100 XML files in a directory in resources Classpath folder.
  what is best solution for inject them into Dozer?</p>
  
  <p><strong>I try this in spring5:</strong></p>
  
  <pre><code>  @Value("classpath*:dozer/*.xml")
    private Resource[] resources;
  
    @Bean(name = "org.dozer.Mapper")
    public DozerBeanMapper dozerBean() {
      DozerBeanMapper dozerBean = new DozerBeanMapper();
      dozerBean.setMappingFiles(resources); //this is wrong
      return dozerBean;
    }
  </code></pre>