Class BroadleafErrorAttributesFactoryBean

java.lang.Object
com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.context.ApplicationContextAware

public class BroadleafErrorAttributesFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.context.ApplicationContextAware
FactoryBean to dynamically register BroadleafErrorAttributes with correct runtime package types and resolve environment-specific properties without introducing compile-time package dependencies.
Author:
Marie Standeven (marieStandeven)
  • Constructor Details

    • BroadleafErrorAttributesFactoryBean

      public BroadleafErrorAttributesFactoryBean()
  • Method Details

    • setApplicationContext

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

      public Object getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<Object>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>