Class CustomMappings

java.lang.Object
org.openehealth.ipf.commons.spring.map.config.CustomMappings
All Implemented Interfaces:
MappingResourceHolder

public class CustomMappings extends Object implements MappingResourceHolder
This class should be used to define the custom mappings in the spring context definition.
    <!-- either as a list of mapping definitions -->
    <bean id="customMapping3"
        class="org.openehealth.ipf.commons.map.config.CustomMappings">
        <property name="mappingResources">
            <list>
                <value>classpath:configurer1.map</value>
                <value>classpath:configurer2.map</value>
            </list>
        </property>
    </bean>

    <!-- or as a single mapping definition -->
    <bean id="customMappingSingle"
        class="org.openehealth.ipf.commons.map.config.CustomMappings">
        <property name="mappingResource" value="classpath:configurer3.map" />
    </bean>
Author:
Christian Ohr, Boris Stanojevic
See Also: