Module net.shibboleth.ext.spring
Class CombiningListFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<List<Object>>
-
- org.springframework.beans.factory.config.ListFactoryBean
-
- net.shibboleth.ext.spring.factory.CombiningListFactoryBean
-
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<List<Object>>,InitializingBean
public class CombiningListFactoryBean extends ListFactoryBean
A factory which extendsListFactoryBeanby requiring two lists as input.
-
-
Field Summary
Fields Modifier and Type Field Description private List<?>firstListFirst list to combine.private List<?>secondListSecond list to combine.-
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description CombiningListFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Object>createInstance()List<?>getFirstList()Set the first list to combine.List<?>getSecondList()Set the second list to combine.voidsetFirstList(List<?> list)Get the first list to combine.voidsetSecondList(List<?> list)Get the second list to combine.voidsetSourceList(List<?> sourceList)-
Methods inherited from class org.springframework.beans.factory.config.ListFactoryBean
getObjectType, setTargetListClass
-
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
-
-
-
Method Detail
-
setSourceList
public void setSourceList(List<?> sourceList)
- Overrides:
setSourceListin classListFactoryBean
-
getFirstList
public List<?> getFirstList()
Set the first list to combine.- Returns:
- Returns the firstList.
-
setFirstList
public void setFirstList(@Nonnull List<?> list)Get the first list to combine.- Parameters:
list- The firstList to set.
-
getSecondList
public List<?> getSecondList()
Set the second list to combine.- Returns:
- Returns the secondList.
-
setSecondList
public void setSecondList(@Nonnull List<?> list)Get the second list to combine.- Parameters:
list- The secondList to set.
-
createInstance
protected List<Object> createInstance()
- Overrides:
createInstancein classListFactoryBean
-
-