Class FallbackPropertyFactory<T>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.craftercms.engine.util.spring.properties.FallbackPropertyFactory<T>
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<T>,org.springframework.beans.factory.InitializingBean
public class FallbackPropertyFactory<T>
extends org.springframework.beans.factory.config.AbstractFactoryBean<T>
String
FactoryBean implementation to provide
a convenience way to fallback in a list of properties until one of them is not empty/null.-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
FallbackPropertyFactory
-
-
Method Details
-
setDefaultValue
-
getObjectType
-
createInstance
-