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)
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>booleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
BroadleafErrorAttributesFactoryBean
public BroadleafErrorAttributesFactoryBean()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getObject
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<Object>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<Object>
-