接口的使用
org.springframework.beans.factory.config.AutowireCapableBeanFactory
使用AutowireCapableBeanFactory的程序包 程序包 说明 org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.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.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.http.converter.json Provides HttpMessageConverter implementations for handling JSON.org.springframework.validation.beanvalidation Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.org.springframework.beans.factory.annotation中AutowireCapableBeanFactory的使用
参数类型为AutowireCapableBeanFactory的org.springframework.beans.factory.annotation中的方法 修饰符和类型 方法 说明 static Object
ParameterResolutionDelegate. resolveDependency(Parameter parameter, int parameterIndex, Class<?> containingClass, AutowireCapableBeanFactory beanFactory)
Resolve the dependency for the suppliedParameter
from the suppliedAutowireCapableBeanFactory
.org.springframework.beans.factory.config中AutowireCapableBeanFactory的使用
org.springframework.beans.factory.config中AutowireCapableBeanFactory的子接口 修饰符和类型 接口 说明 interface
ConfigurableListableBeanFactory
Configuration interface to be implemented by most listable bean factories.org.springframework.beans.factory.support中AutowireCapableBeanFactory的使用
实现AutowireCapableBeanFactory的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
DefaultListableBeanFactory
Spring's default implementation of theConfigurableListableBeanFactory
andBeanDefinitionRegistry
interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.org.springframework.beans.factory.xml中AutowireCapableBeanFactory的使用
实现AutowireCapableBeanFactory的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 class
XmlBeanFactory
已过时。as of Spring 3.1 in favor ofDefaultListableBeanFactory
andXmlBeanDefinitionReader
org.springframework.context中AutowireCapableBeanFactory的使用
返回AutowireCapableBeanFactory的org.springframework.context中的方法 修饰符和类型 方法 说明 AutowireCapableBeanFactory
ApplicationContext. getAutowireCapableBeanFactory()
Expose AutowireCapableBeanFactory functionality for this context.org.springframework.context.support中AutowireCapableBeanFactory的使用
返回AutowireCapableBeanFactory的org.springframework.context.support中的方法 修饰符和类型 方法 说明 AutowireCapableBeanFactory
AbstractApplicationContext. getAutowireCapableBeanFactory()
Return this context's internal bean factory as AutowireCapableBeanFactory, if already available.AutowireCapableBeanFactory
GenericApplicationContext. getAutowireCapableBeanFactory()
org.springframework.http.converter.json中AutowireCapableBeanFactory的使用
参数类型为AutowireCapableBeanFactory的org.springframework.http.converter.json中的构造器 构造器 说明 SpringHandlerInstantiator(AutowireCapableBeanFactory beanFactory)
Create a new SpringHandlerInstantiator for the given BeanFactory.org.springframework.validation.beanvalidation中AutowireCapableBeanFactory的使用
参数类型为AutowireCapableBeanFactory的org.springframework.validation.beanvalidation中的构造器 构造器 说明 SpringConstraintValidatorFactory(AutowireCapableBeanFactory beanFactory)
Create a new SpringConstraintValidatorFactory for the given BeanFactory.