接口的使用
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.factorypackage.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactoryimplementation, including a standard "spring-beans" XSD.org.springframework.beans.factory.config中SingletonBeanRegistry的使用
org.springframework.beans.factory.config中SingletonBeanRegistry的子接口 修饰符和类型 接口 说明 interfaceConfigurableBeanFactoryConfiguration interface to be implemented by most bean factories.interfaceConfigurableListableBeanFactoryConfiguration interface to be implemented by most listable bean factories.org.springframework.beans.factory.support中SingletonBeanRegistry的使用
实现SingletonBeanRegistry的org.springframework.beans.factory.support中的类 修饰符和类型 类 说明 classAbstractAutowireCapableBeanFactoryAbstract bean factory superclass that implements default bean creation, with the full capabilities specified by theRootBeanDefinitionclass.classAbstractBeanFactoryAbstract base class forBeanFactoryimplementations, providing the full capabilities of theConfigurableBeanFactorySPI.classDefaultListableBeanFactorySpring's default implementation of theConfigurableListableBeanFactoryandBeanDefinitionRegistryinterfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.classDefaultSingletonBeanRegistryGeneric registry for shared bean instances, implementing theSingletonBeanRegistry.classFactoryBeanRegistrySupportSupport base class for singleton registries which need to handleFactoryBeaninstances, integrated withDefaultSingletonBeanRegistry's singleton management.org.springframework.beans.factory.xml中SingletonBeanRegistry的使用
实现SingletonBeanRegistry的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 classXmlBeanFactory已过时。as of Spring 3.1 in favor ofDefaultListableBeanFactoryandXmlBeanDefinitionReader