Class DynamicTypeFactory<D>

java.lang.Object
de.hybris.platform.webservicescommons.mapping.config.DynamicTypeFactory<D>
All Implemented Interfaces:
TypeObjectFactory<D>, ma.glasnost.orika.ObjectFactory<D>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class DynamicTypeFactory<D> extends Object implements TypeObjectFactory<D>, org.springframework.context.ApplicationContextAware
  • Constructor Details

    • DynamicTypeFactory

      public DynamicTypeFactory()
  • Method Details

    • init

      @PostConstruct public void init()
    • create

      public D create(Object source, ma.glasnost.orika.MappingContext mappingContext)
      Specified by:
      create in interface ma.glasnost.orika.ObjectFactory<D>
    • getDefault

      protected D getDefault(Class source)
    • getType

      public Class<D> getType()
      Specified by:
      getType in interface TypeObjectFactory<D>
    • setBaseType

      public void setBaseType(Class<D> baseType)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware