hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alina2 <>
Subject Dozer and Hivemind Integration - injecting a list of string
Date Fri, 03 Oct 2008 12:07:29 GMT

         i am new to hivemind and i wanted to integrate Dozer  (a "Java Bean to Java Bean mapper") to
the application i am working at.
I spent some time trying to figure out how to do this, so i post the
solution i found in case it turns out to be useful for someone else too (or
so it can be improved by others).

   <service-point id="mapperService"
interface="net.sf.dozer.util.mapping.MapperIF" />

   <configuration-point id="mappingFiles">
              <element name="mappingFile">           
                  <attribute name="value" required="true"/>
                    <push-attribute attribute="value"/>
                    <invoke-parent method="addElement"/>
    <contribution configuration-id="mappingFiles">
         <mappingFile value="dozerBeanMapping.xml" />

      <implementation service-id="mapperService">
            <construct class="net.sf.dozer.util.mapping.DozerBeanMapper">
              <set-configuration property="mappingFiles"

View this message in context:
Sent from the Hivemind - User mailing list archive at

View raw message