Class DefaultSourcingStrategyService

  • All Implemented Interfaces:
    SourcingStrategyService, org.springframework.beans.factory.InitializingBean

    public class DefaultSourcingStrategyService
    extends java.lang.Object
    implements SourcingStrategyService, org.springframework.beans.factory.InitializingBean
    Default implementation of the sourcing strategy service. We will get strategies for mappers that produce a match. Also, if a matching mapper is terminal, then no other sourcing strategies will be added after the terminal one.
    • Constructor Detail

      • DefaultSourcingStrategyService

        public DefaultSourcingStrategyService()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • setDefaultStrategies

        public void setDefaultStrategies​(java.util.List<SourcingStrategy> defaultStrategies)