接口的使用
org.springframework.beans.factory.config.SingletonBeanRegistry
使用SingletonBeanRegistry的程序包 程序包 说明 org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.beans.factory.config中SingletonBeanRegistry的使用
org.springframework.beans.factory.config中SingletonBeanRegistry的子接口 修饰符和类型 接口 说明 interface
ConfigurableBeanFactory
Configuration interface to be implemented by most bean factories.interface
ConfigurableListableBeanFactory
Configuration interface to be implemented by most listable bean factories.org.springframework.beans.factory.support中SingletonBeanRegistry的使用
实现SingletonBeanRegistry的org.springframework.beans.factory.support中的类 修饰符和类型 类 说明 class
AbstractAutowireCapableBeanFactory
Abstract bean factory superclass that implements default bean creation, with the full capabilities specified by theRootBeanDefinition
class.class
AbstractBeanFactory
Abstract base class forBeanFactory
implementations, providing the full capabilities of theConfigurableBeanFactory
SPI.class
DefaultListableBeanFactory
Spring's default implementation of theConfigurableListableBeanFactory
andBeanDefinitionRegistry
interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.class
DefaultSingletonBeanRegistry
Generic registry for shared bean instances, implementing theSingletonBeanRegistry
.class
FactoryBeanRegistrySupport
Support base class for singleton registries which need to handleFactoryBean
instances, integrated withDefaultSingletonBeanRegistry
's singleton management.org.springframework.beans.factory.xml中SingletonBeanRegistry的使用
实现SingletonBeanRegistry的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 class
XmlBeanFactory
已过时。as of Spring 3.1 in favor ofDefaultListableBeanFactory
andXmlBeanDefinitionReader