Package org.craftercms.commons.spring
Class BeanListFactoryBean
java.lang.Object
org.craftercms.commons.spring.BeanListFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<List<Object>>,org.springframework.context.ApplicationContextAware
public class BeanListFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<List<Object>>, org.springframework.context.ApplicationContextAware
Spring factory bean that creates a list of beans based on a list of bean names.
- Author:
- avasquez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected String[]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)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
beanNames
-
-
Constructor Details
-
BeanListFactoryBean
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getObject
-
getObjectType
-
isSingleton
public boolean isSingleton()
-