org.springframework.beans.factory.config
Interface ConfigurableListableBeanFactory

All Known Implementing Classes:
DefaultListableBeanFactory

public interface ConfigurableListableBeanFactory
extends AutowireCapableBeanFactory, ConfigurableBeanFactory, ListableBeanFactory

SPI interface to be implemented by most if not all listable bean factories. In addition to ConfigurableBeanFactory, provides a way to pre-instantiate singletons.

Allows for framework-internal plug'n'play, e.g. in AbstractApplicationContext.

Author:
Juergen Hoeller
Since: 03.11.2003
See Also: org.springframework.context.support.AbstractApplicationContext.getBeanFactory()

Fields inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR

Method Summary
 voidpreInstantiateSingletons()
          Ensure that all non-lazy-init singletons are instantiated, also considering FactoryBeans.

Methods inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, autowire, autowireBeanProperties

Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, isSingleton

Methods inherited from interface org.springframework.beans.factory.config.ConfigurableBeanFactory
addBeanPostProcessor, destroySingletons, getConstructorArgumentValues, getPropertyValues, ignoreDependencyType, registerAlias, registerCustomEditor, registerSingleton, setParentBeanFactory

Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory
getParentBeanFactory

Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeansOfType

Method Detail

preInstantiateSingletons

public void preInstantiateSingletons()
Ensure that all non-lazy-init singletons are instantiated, also considering FactoryBeans. Typically invoked at the end of factory setup, if desired.