Class AddOnCMSComponentRendererRegistry

java.lang.Object
de.hybris.platform.acceleratorcms.component.renderer.impl.DefaultCMSComponentRendererRegistry
de.hybris.platform.addonsupport.renderer.impl.AddOnCMSComponentRendererRegistry
All Implemented Interfaces:
CMSComponentRenderer, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class AddOnCMSComponentRendererRegistry extends DefaultCMSComponentRendererRegistry implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Extends the storefront CMS Component Registry so AddOns can easily declare additional CMS Component Renderer Mappings by registering existing beans of type AddOnCMSComponentRendererMapping
  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • AddOnCMSComponentRendererRegistry

      public AddOnCMSComponentRendererRegistry()
  • Method Details

    • afterPropertiesSet

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

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • validateTypeCode

      protected void validateTypeCode(String code)
    • isFailOnInvalidRendererMappings

      public boolean isFailOnInvalidRendererMappings()
    • setFailOnInvalidRendererMappings

      public void setFailOnInvalidRendererMappings(boolean failOnInvalidRendererMappings)