接口的使用
org.springframework.beans.factory.config.ConfigurableBeanFactory
使用ConfigurableBeanFactory的程序包 程序包 说明 org.springframework.aop.framework.autoproxy.target org.springframework.aop.scope Support for AOP-based scoping of target objects, with configurable backend.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.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.messaging.handler.annotation.reactive Support classes for working with annotated message-handling methods with non-blocking, reactive contracts.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.web.method.annotation Support classes for annotation-based handler method processing.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.aop.framework.autoproxy.target中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.aop.framework.autoproxy.target中的方法 修饰符和类型 方法 说明 protected DefaultListableBeanFactory
AbstractBeanFactoryBasedTargetSourceCreator. buildInternalBeanFactory(ConfigurableBeanFactory containingFactory)
Build an internal BeanFactory for resolving target beans.org.springframework.aop.scope中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.aop.scope中的构造器 构造器 说明 DefaultScopedObject(ConfigurableBeanFactory beanFactory, String targetBeanName)
Creates a new instance of theDefaultScopedObject
class.org.springframework.beans.factory.config中ConfigurableBeanFactory的使用
org.springframework.beans.factory.config中ConfigurableBeanFactory的子接口 修饰符和类型 接口 说明 interface
ConfigurableListableBeanFactory
Configuration interface to be implemented by most listable bean factories.返回ConfigurableBeanFactory的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 ConfigurableBeanFactory
BeanExpressionContext. getBeanFactory()
参数类型为ConfigurableBeanFactory的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 void
ConfigurableBeanFactory. copyConfigurationFrom(ConfigurableBeanFactory otherFactory)
Copy all relevant configuration from the given other factory.参数类型为ConfigurableBeanFactory的org.springframework.beans.factory.config中的构造器 构造器 说明 BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope)
EmbeddedValueResolver(ConfigurableBeanFactory beanFactory)
org.springframework.beans.factory.support中ConfigurableBeanFactory的使用
实现ConfigurableBeanFactory的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.参数类型为ConfigurableBeanFactory的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 void
AbstractAutowireCapableBeanFactory. copyConfigurationFrom(ConfigurableBeanFactory otherFactory)
void
AbstractBeanFactory. copyConfigurationFrom(ConfigurableBeanFactory otherFactory)
void
DefaultListableBeanFactory. copyConfigurationFrom(ConfigurableBeanFactory otherFactory)
org.springframework.beans.factory.xml中ConfigurableBeanFactory的使用
实现ConfigurableBeanFactory的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 class
XmlBeanFactory
已过时。as of Spring 3.1 in favor ofDefaultListableBeanFactory
andXmlBeanDefinitionReader
org.springframework.context.support中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.context.support中的方法 修饰符和类型 方法 说明 protected boolean
LiveBeansView. isBeanEligible(String beanName, BeanDefinition bd, ConfigurableBeanFactory bf)
Determine whether the specified bean is eligible for inclusion in the LiveBeansView JSON snapshot.org.springframework.messaging.handler.annotation.reactive中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.messaging.handler.annotation.reactive中的构造器 构造器 说明 AbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory)
Constructor with aConversionService
and aBeanFactory
.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory)
org.springframework.messaging.handler.annotation.support中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.messaging.handler.annotation.support中的构造器 构造器 说明 AbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory)
Constructor with aConversionService
and aBeanFactory
.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory)
org.springframework.web.method.annotation中ConfigurableBeanFactory的使用
参数类型为ConfigurableBeanFactory的org.springframework.web.method.annotation中的构造器 构造器 说明 AbstractCookieValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
Crate a newAbstractCookieValueMethodArgumentResolver
instance.AbstractNamedValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
Create a newAbstractNamedValueMethodArgumentResolver
instance.ExpressionValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
Create a newExpressionValueMethodArgumentResolver
instance.RequestHeaderMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
Create a newRequestHeaderMethodArgumentResolver
instance.RequestParamMethodArgumentResolver(ConfigurableBeanFactory beanFactory, boolean useDefaultResolution)
Create a newRequestParamMethodArgumentResolver
instance.org.springframework.web.reactive.result.method.annotation中ConfigurableBeanFactory的使用
org.springframework.web.servlet.mvc.method.annotation中ConfigurableBeanFactory的使用
返回ConfigurableBeanFactory的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected ConfigurableBeanFactory
RequestMappingHandlerAdapter. getBeanFactory()
Return the owning factory of this bean instance, ornull
if none.