Class DefaultCMSRestrictionEvaluatorRegistry

java.lang.Object
de.hybris.platform.cms2.servicelayer.services.evaluator.impl.DefaultCMSRestrictionEvaluatorRegistry
All Implemented Interfaces:
CMSRestrictionEvaluatorRegistry, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class DefaultCMSRestrictionEvaluatorRegistry extends Object implements CMSRestrictionEvaluatorRegistry
Resolves mapped CMSRestrictionEvaluator instances per restriction type
  • Constructor Details

    • DefaultCMSRestrictionEvaluatorRegistry

      public DefaultCMSRestrictionEvaluatorRegistry()
  • Method Details

    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • getCMSRestrictionEvaluator

      public CMSRestrictionEvaluator getCMSRestrictionEvaluator(String restrictionTypeCode)
      Specified by:
      getCMSRestrictionEvaluator in interface CMSRestrictionEvaluatorRegistry
    • getEvaluatorsMap

      public Map<String,CMSRestrictionEvaluator> getEvaluatorsMap()
    • init

      public void init()
    • 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
    • setEvaluatorsMap

      public void setEvaluatorsMap(Map<String,CMSRestrictionEvaluator> evaluatorMap)