接口的使用
org.springframework.beans.factory.BeanFactory
使用BeanFactory的程序包 程序包 说明 org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.aspectj.annotation Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.org.springframework.aop.config Support package for declarative AOP configuration, with XML schema being the primary configuration format.org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.org.springframework.aop.framework.autoproxy Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.org.springframework.aop.framework.autoproxy.target org.springframework.aop.interceptor Provides miscellaneous interceptor implementations.org.springframework.aop.scope Support for AOP-based scoping of target objects, with configurable backend.org.springframework.aop.support Convenience classes for using Spring's AOP API.org.springframework.aop.target org.springframework.aop.target.dynamic org.springframework.beans.factory The core package implementing Spring's lightweight Inversion of Control (IoC) container.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.factorypackage.org.springframework.beans.factory.wiring Mechanism to determine bean wiring metadata from a bean instance.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactoryimplementation, including a standard "spring-beans" XSD.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.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.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.event Support classes for application events, like standard context events.org.springframework.context.expression Expression parsing support within a Spring application context.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.context.weaving Load-time weaving support for a Spring application context, building on Spring'sLoadTimeWeaverabstraction.org.springframework.dao.annotation Annotation support for DAOs.org.springframework.dao.support Support classes for DAO implementations, providing miscellaneous utility methods.org.springframework.jca.context Integration package that allows for deploying a Spring application context as a JCA 1.7 compliant RAR file.org.springframework.jdbc.datasource.lookup Provides a strategy for looking up JDBC DataSources by name.org.springframework.jms.annotation Annotations and support classes for declarative JMS listener endpoints.org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.support.destination Support classes for Spring's JMS framework.org.springframework.jmx.export This package provides declarative creation and registration of Spring-managed beans as JMX MBeans.org.springframework.jmx.export.annotation Java 5 annotations for MBean exposure.org.springframework.jndi The classes in this package make JNDI easier to use, facilitating the accessing of configuration stored in JNDI, and provide useful superclasses for JNDI access classes.org.springframework.jndi.support Support classes for JNDI usage, including a JNDI-based BeanFactory implementation.org.springframework.messaging.core Defines interfaces and implementation classes for messaging templates.org.springframework.messaging.handler Basic abstractions for working with message handler methods.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.orm.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.orm.jpa.support Classes supporting theorg.springframework.orm.jpapackage.org.springframework.remoting.jaxws Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC), as included in Java 6 and Java EE 5.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.scripting.groovy Package providing integration of Groovy into Spring's scripting infrastructure.org.springframework.scripting.support Support classes for Spring's scripting package.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.web.context Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.org.springframework.web.context.request.async Support for asynchronous request processing.org.springframework.web.context.support Classes supporting theorg.springframework.web.contextpackage, such as WebApplicationContext implementations and various utility classes.org.springframework.web.jsf Support classes for integrating a JSF web layer with a Spring service layer which is hosted in a Spring root WebApplicationContext.org.springframework.web.method Common infrastructure for handler method processing, as used by Spring MVC'sorg.springframework.web.servlet.mvc.methodpackage.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.web.socket.handler ConvenientWebSocketHandlerimplementations and decorators.org.springframework.web.socket.server.standard Server-side classes for use with standard JSR-356 WebSocket endpoints.org.springframework.aop.aspectj中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.aspectj中的方法 修饰符和类型 方法 说明 voidAspectJExpressionPointcut. setBeanFactory(BeanFactory beanFactory)voidAspectJExpressionPointcutAdvisor. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.aspectj.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.aspectj.annotation中的构造器 构造器 说明 BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name)Create a BeanFactoryAspectInstanceFactory.BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name, Class<?> type)Create a BeanFactoryAspectInstanceFactory, providing a type that AspectJ should introspect to create AJType metadata.PrototypeAspectInstanceFactory(BeanFactory beanFactory, String name)Create a PrototypeAspectInstanceFactory.ReflectiveAspectJAdvisorFactory(BeanFactory beanFactory)Create a newReflectiveAspectJAdvisorFactory, propagating the givenBeanFactoryto the createdAspectJExpressionPointcutinstances, for bean pointcut handling as well as consistentClassLoaderresolution.org.springframework.aop.config中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.config中的方法 修饰符和类型 方法 说明 voidMethodLocatingFactoryBean. setBeanFactory(BeanFactory beanFactory)voidSimpleBeanFactoryAwareAspectInstanceFactory. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.framework中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.framework中的方法 修饰符和类型 方法 说明 voidProxyFactoryBean. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.framework.autoproxy中BeanFactory的使用
返回BeanFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 protected BeanFactoryAbstractAutoProxyCreator. getBeanFactory()Return the owningBeanFactory.参数类型为BeanFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 voidAbstractAdvisorAutoProxyCreator. setBeanFactory(BeanFactory beanFactory)voidAbstractAutoProxyCreator. setBeanFactory(BeanFactory beanFactory)voidAbstractBeanFactoryAwareAdvisingPostProcessor. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.framework.autoproxy.target中BeanFactory的使用
返回BeanFactory的org.springframework.aop.framework.autoproxy.target中的方法 修饰符和类型 方法 说明 protected BeanFactoryAbstractBeanFactoryBasedTargetSourceCreator. getBeanFactory()Return the BeanFactory that this TargetSourceCreators runs in.参数类型为BeanFactory的org.springframework.aop.framework.autoproxy.target中的方法 修饰符和类型 方法 说明 voidAbstractBeanFactoryBasedTargetSourceCreator. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.interceptor中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.interceptor中的方法 修饰符和类型 方法 说明 protected ExecutorAsyncExecutionAspectSupport. findQualifiedExecutor(BeanFactory beanFactory, String qualifier)Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport. getDefaultExecutor(BeanFactory beanFactory)Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor. getDefaultExecutor(BeanFactory beanFactory)This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.voidAsyncExecutionAspectSupport. setBeanFactory(BeanFactory beanFactory)Set theBeanFactoryto be used when looking up executors by qualifier or when relying on the default executor lookup algorithm.org.springframework.aop.scope中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.scope中的方法 修饰符和类型 方法 说明 voidScopedProxyFactoryBean. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.support中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.support中的方法 修饰符和类型 方法 说明 voidAbstractBeanFactoryPointcutAdvisor. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.target中BeanFactory的使用
返回BeanFactory的org.springframework.aop.target中的方法 修饰符和类型 方法 说明 BeanFactoryAbstractBeanFactoryBasedTargetSource. getBeanFactory()Return the owning BeanFactory.参数类型为BeanFactory的org.springframework.aop.target中的方法 修饰符和类型 方法 说明 voidAbstractBeanFactoryBasedTargetSource. setBeanFactory(BeanFactory beanFactory)Set the owning BeanFactory.voidAbstractPoolingTargetSource. setBeanFactory(BeanFactory beanFactory)voidAbstractPrototypeBasedTargetSource. setBeanFactory(BeanFactory beanFactory)org.springframework.aop.target.dynamic中BeanFactory的使用
参数类型为BeanFactory的org.springframework.aop.target.dynamic中的方法 修饰符和类型 方法 说明 protected ObjectBeanFactoryRefreshableTargetSource. obtainFreshBean(BeanFactory beanFactory, String beanName)A template method that subclasses may override to provide a fresh target object for the given bean factory and bean name.参数类型为BeanFactory的org.springframework.aop.target.dynamic中的构造器 构造器 说明 BeanFactoryRefreshableTargetSource(BeanFactory beanFactory, String beanName)Create a new BeanFactoryRefreshableTargetSource for the given bean factory and bean name.org.springframework.beans.factory中BeanFactory的使用
org.springframework.beans.factory中BeanFactory的子接口 修饰符和类型 接口 说明 interfaceHierarchicalBeanFactorySub-interface implemented by bean factories that can be part of a hierarchy.interfaceListableBeanFactoryExtension of theBeanFactoryinterface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients.返回BeanFactory的org.springframework.beans.factory中的方法 修饰符和类型 方法 说明 BeanFactoryHierarchicalBeanFactory. getParentBeanFactory()Return the parent bean factory, ornullif there is none.参数类型为BeanFactory的org.springframework.beans.factory中的方法 修饰符和类型 方法 说明 voidBeanFactoryAware. setBeanFactory(BeanFactory beanFactory)Callback that supplies the owning factory to a bean instance.org.springframework.beans.factory.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.beans.factory.annotation中的方法 修饰符和类型 方法 说明 static booleanBeanFactoryAnnotationUtils. isQualifierMatch(Predicate<String> qualifier, String beanName, BeanFactory beanFactory)Check whether the named bean declares a qualifier of the given name.static <T> TBeanFactoryAnnotationUtils. qualifiedBeanOfType(BeanFactory beanFactory, Class<T> beanType, String qualifier)Obtain a bean of typeTfrom the givenBeanFactorydeclaring a qualifier (e.g. via<qualifier>or@Qualifier) matching the given qualifier, or having a bean name matching the given qualifier.voidAutowiredAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)voidRequiredAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)已过时。org.springframework.beans.factory.config中BeanFactory的使用
org.springframework.beans.factory.config中BeanFactory的子接口 修饰符和类型 接口 说明 interfaceAutowireCapableBeanFactoryExtension of theBeanFactoryinterface to be implemented by bean factories that are capable of autowiring, provided that they want to expose this functionality for existing bean instances.interfaceConfigurableBeanFactoryConfiguration interface to be implemented by most bean factories.interfaceConfigurableListableBeanFactoryConfiguration interface to be implemented by most listable bean factories.返回BeanFactory的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 protected BeanFactoryAbstractFactoryBean. getBeanFactory()Return the BeanFactory that this bean runs in.参数类型为BeanFactory的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 ObjectDependencyDescriptor. resolveCandidate(String beanName, Class<?> requiredType, BeanFactory beanFactory)Resolve the specified bean name, as a candidate result of the matching algorithm for this dependency, to a bean instance from the given factory.ObjectDependencyDescriptor. resolveShortcut(BeanFactory beanFactory)Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.voidAbstractFactoryBean. setBeanFactory(BeanFactory beanFactory)voidMethodInvokingBean. setBeanFactory(BeanFactory beanFactory)voidPlaceholderConfigurerSupport. setBeanFactory(BeanFactory beanFactory)Only necessary to check that we're not parsing our own bean definition, to avoid failing on unresolvable placeholders in properties file locations.voidPropertyPathFactoryBean. setBeanFactory(BeanFactory beanFactory)voidServiceLocatorFactoryBean. setBeanFactory(BeanFactory beanFactory)voidConfigurableBeanFactory. setParentBeanFactory(BeanFactory parentBeanFactory)Set the parent of this bean factory.org.springframework.beans.factory.support中BeanFactory的使用
实现BeanFactory的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.classStaticListableBeanFactoryStaticBeanFactoryimplementation which allows one to register existing singleton instances programmatically.返回BeanFactory的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected BeanFactoryGenericTypeAwareAutowireCandidateResolver. getBeanFactory()BeanFactoryAbstractBeanFactory. getParentBeanFactory()参数类型为BeanFactory的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 ObjectInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner)Return an instance of the bean with the given name in this factory.ObjectInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args)Return an instance of the bean with the given name in this factory, creating it via the given factory method.ObjectInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args)Return an instance of the bean with the given name in this factory, creating it via the given constructor.ObjectSimpleInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner)ObjectSimpleInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args)ObjectSimpleInstantiationStrategy. instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args)protected ObjectCglibSubclassingInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner)protected ObjectCglibSubclassingInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args)protected ObjectSimpleInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner)Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected ObjectSimpleInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args)Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.voidGenericTypeAwareAutowireCandidateResolver. setBeanFactory(BeanFactory beanFactory)voidAbstractBeanFactory. setParentBeanFactory(BeanFactory parentBeanFactory)参数类型为BeanFactory的org.springframework.beans.factory.support中的构造器 构造器 说明 AbstractAutowireCapableBeanFactory(BeanFactory parentBeanFactory)Create a new AbstractAutowireCapableBeanFactory with the given parent.AbstractBeanFactory(BeanFactory parentBeanFactory)Create a new AbstractBeanFactory with the given parent.DefaultListableBeanFactory(BeanFactory parentBeanFactory)Create a new DefaultListableBeanFactory with the given parent.org.springframework.beans.factory.wiring中BeanFactory的使用
参数类型为BeanFactory的org.springframework.beans.factory.wiring中的方法 修饰符和类型 方法 说明 voidBeanConfigurerSupport. setBeanFactory(BeanFactory beanFactory)Set theBeanFactoryin which this aspect must configure beans.org.springframework.beans.factory.xml中BeanFactory的使用
实现BeanFactory的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 classXmlBeanFactory已过时。as of Spring 3.1 in favor ofDefaultListableBeanFactoryandXmlBeanDefinitionReader参数类型为BeanFactory的org.springframework.beans.factory.xml中的构造器 构造器 说明 XmlBeanFactory(Resource resource, BeanFactory parentBeanFactory)已过时。Create a new XmlBeanFactory with the given input stream, which must be parsable using DOM.org.springframework.cache.interceptor中BeanFactory的使用
参数类型为BeanFactory的org.springframework.cache.interceptor中的方法 修饰符和类型 方法 说明 voidCacheAspectSupport. setBeanFactory(BeanFactory beanFactory)Set the containingBeanFactoryforCacheManagerand other service lookups.voidCacheProxyFactoryBean. setBeanFactory(BeanFactory beanFactory)org.springframework.cache.jcache.interceptor中BeanFactory的使用
参数类型为BeanFactory的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 voidDefaultJCacheOperationSource. setBeanFactory(BeanFactory beanFactory)org.springframework.context中BeanFactory的使用
org.springframework.context中BeanFactory的子接口 修饰符和类型 接口 说明 interfaceApplicationContextCentral interface to provide configuration for an application.interfaceConfigurableApplicationContextSPI interface to be implemented by most if not all application contexts.org.springframework.context.annotation中BeanFactory的使用
实现BeanFactory的org.springframework.context.annotation中的类 修饰符和类型 类 说明 classAnnotationConfigApplicationContextStandalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjavax.injectannotations.参数类型为BeanFactory的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 protected ObjectCommonAnnotationBeanPostProcessor. autowireResource(BeanFactory factory, CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName)Obtain a resource object for the given name and type through autowiring based on the given factory.voidCommonAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)voidMBeanExportConfiguration. setBeanFactory(BeanFactory beanFactory)voidCommonAnnotationBeanPostProcessor. setJndiFactory(BeanFactory jndiFactory)Specify the factory for objects to be injected into@Resource/@WebServiceRef/@EJBannotated fields and setter methods, formappedNameattributes that point directly into JNDI.voidCommonAnnotationBeanPostProcessor. setResourceFactory(BeanFactory resourceFactory)Specify the factory for objects to be injected into@Resource/@WebServiceRef/@EJBannotated fields and setter methods, fornameattributes and default names.org.springframework.context.event中BeanFactory的使用
参数类型为BeanFactory的org.springframework.context.event中的方法 修饰符和类型 方法 说明 voidAbstractApplicationEventMulticaster. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.context.event中的构造器 构造器 说明 SimpleApplicationEventMulticaster(BeanFactory beanFactory)Create a new SimpleApplicationEventMulticaster for the given BeanFactory.org.springframework.context.expression中BeanFactory的使用
参数类型为BeanFactory的org.springframework.context.expression中的构造器 构造器 说明 BeanFactoryResolver(BeanFactory beanFactory)Create a newBeanFactoryResolverfor the given factory.org.springframework.context.support中BeanFactory的使用
实现BeanFactory的org.springframework.context.support中的类 修饰符和类型 类 说明 classAbstractApplicationContextAbstract implementation of theApplicationContextinterface.classAbstractRefreshableApplicationContextBase class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.classAbstractRefreshableConfigApplicationContextAbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.classAbstractXmlApplicationContextConvenient base class forApplicationContextimplementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader.classClassPathXmlApplicationContextStandalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g.classFileSystemXmlApplicationContextStandalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g.classGenericApplicationContextGeneric ApplicationContext implementation that holds a single internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.classGenericGroovyApplicationContextAnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String).classGenericXmlApplicationContextConvenient application context with built-in XML support.classStaticApplicationContextApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.返回BeanFactory的org.springframework.context.support中的方法 修饰符和类型 方法 说明 protected BeanFactoryAbstractApplicationContext. getInternalParentBeanFactory()Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.BeanFactoryAbstractApplicationContext. getParentBeanFactory()参数类型为BeanFactory的org.springframework.context.support中的方法 修饰符和类型 方法 说明 voidDefaultLifecycleProcessor. setBeanFactory(BeanFactory beanFactory)org.springframework.context.weaving中BeanFactory的使用
参数类型为BeanFactory的org.springframework.context.weaving中的方法 修饰符和类型 方法 说明 voidLoadTimeWeaverAwareProcessor. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.context.weaving中的构造器 构造器 说明 LoadTimeWeaverAwareProcessor(BeanFactory beanFactory)Create a newLoadTimeWeaverAwareProcessor.org.springframework.dao.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.dao.annotation中的方法 修饰符和类型 方法 说明 voidPersistenceExceptionTranslationPostProcessor. setBeanFactory(BeanFactory beanFactory)org.springframework.dao.support中BeanFactory的使用
参数类型为BeanFactory的org.springframework.dao.support中的方法 修饰符和类型 方法 说明 voidPersistenceExceptionTranslationInterceptor. setBeanFactory(BeanFactory beanFactory)org.springframework.jca.context中BeanFactory的使用
实现BeanFactory的org.springframework.jca.context中的类 修饰符和类型 类 说明 classResourceAdapterApplicationContextApplicationContextimplementation for a JCA ResourceAdapter.org.springframework.jdbc.datasource.lookup中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jdbc.datasource.lookup中的方法 修饰符和类型 方法 说明 voidBeanFactoryDataSourceLookup. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.jdbc.datasource.lookup中的构造器 构造器 说明 BeanFactoryDataSourceLookup(BeanFactory beanFactory)Create a new instance of theBeanFactoryDataSourceLookupclass.org.springframework.jms.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jms.annotation中的方法 修饰符和类型 方法 说明 voidJmsListenerAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)Making aBeanFactoryavailable is optional; if not set,JmsListenerConfigurerbeans won't get autodetected and anendpoint registryhas to be explicitly configured.org.springframework.jms.config中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 voidJmsListenerEndpointRegistrar. setBeanFactory(BeanFactory beanFactory)ABeanFactoryonly needs to be available in conjunction withJmsListenerEndpointRegistrar.setContainerFactoryBeanName(java.lang.String).voidMethodJmsListenerEndpoint. setBeanFactory(BeanFactory beanFactory)Set theBeanFactoryto use to resolve expressions (may benull).org.springframework.jms.support.destination中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jms.support.destination中的方法 修饰符和类型 方法 说明 voidBeanFactoryDestinationResolver. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.jms.support.destination中的构造器 构造器 说明 BeanFactoryDestinationResolver(BeanFactory beanFactory)Create a new instance of theBeanFactoryDestinationResolverclass.org.springframework.jmx.export中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jmx.export中的方法 修饰符和类型 方法 说明 voidMBeanExporter. setBeanFactory(BeanFactory beanFactory)org.springframework.jmx.export.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jmx.export.annotation中的方法 修饰符和类型 方法 说明 voidAnnotationJmxAttributeSource. setBeanFactory(BeanFactory beanFactory)voidAnnotationMBeanExporter. setBeanFactory(BeanFactory beanFactory)org.springframework.jndi中BeanFactory的使用
参数类型为BeanFactory的org.springframework.jndi中的方法 修饰符和类型 方法 说明 voidJndiObjectFactoryBean. setBeanFactory(BeanFactory beanFactory)org.springframework.jndi.support中BeanFactory的使用
实现BeanFactory的org.springframework.jndi.support中的类 修饰符和类型 类 说明 classSimpleJndiBeanFactorySimple JNDI-based implementation of Spring'sBeanFactoryinterface.org.springframework.messaging.core中BeanFactory的使用
参数类型为BeanFactory的org.springframework.messaging.core中的方法 修饰符和类型 方法 说明 voidBeanFactoryMessageChannelDestinationResolver. setBeanFactory(BeanFactory beanFactory)voidGenericMessagingTemplate. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.messaging.core中的构造器 构造器 说明 BeanFactoryMessageChannelDestinationResolver(BeanFactory beanFactory)A constructor that accepts aBeanFactoryuseful if instantiating this resolver manually rather than having it defined as a Spring-managed bean.org.springframework.messaging.handler中BeanFactory的使用
参数类型为BeanFactory的org.springframework.messaging.handler中的构造器 构造器 说明 HandlerMethod(String beanName, BeanFactory beanFactory, Method method)Create an instance from a bean name, a method, and aBeanFactory.org.springframework.messaging.handler.annotation.support中BeanFactory的使用
参数类型为BeanFactory的org.springframework.messaging.handler.annotation.support中的方法 修饰符和类型 方法 说明 voidDefaultMessageHandlerMethodFactory. setBeanFactory(BeanFactory beanFactory)ABeanFactoryonly needs to be available for placeholder resolution in handler method arguments; it's optional otherwise.org.springframework.orm.hibernate5中BeanFactory的使用
参数类型为BeanFactory的org.springframework.orm.hibernate5中的方法 修饰符和类型 方法 说明 voidHibernateTransactionManager. setBeanFactory(BeanFactory beanFactory)The bean factory just needs to be known for resolving entity interceptor bean names.voidLocalSessionFactoryBean. setBeanFactory(BeanFactory beanFactory)Accept the containingBeanFactory, registering corresponding HibernateBeanContainerintegration for it if possible.org.springframework.orm.jpa中BeanFactory的使用
参数类型为BeanFactory的org.springframework.orm.jpa中的方法 修饰符和类型 方法 说明 voidAbstractEntityManagerFactoryBean. setBeanFactory(BeanFactory beanFactory)voidEntityManagerFactoryAccessor. setBeanFactory(BeanFactory beanFactory)Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.voidJpaTransactionManager. setBeanFactory(BeanFactory beanFactory)Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.org.springframework.orm.jpa.support中BeanFactory的使用
参数类型为BeanFactory的org.springframework.orm.jpa.support中的方法 修饰符和类型 方法 说明 voidPersistenceAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)org.springframework.remoting.jaxws中BeanFactory的使用
参数类型为BeanFactory的org.springframework.remoting.jaxws中的方法 修饰符和类型 方法 说明 voidAbstractJaxWsServiceExporter. setBeanFactory(BeanFactory beanFactory)Obtains all web service beans and publishes them as JAX-WS endpoints.org.springframework.scheduling.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.scheduling.annotation中的方法 修饰符和类型 方法 说明 voidAsyncAnnotationAdvisor. setBeanFactory(BeanFactory beanFactory)Set theBeanFactoryto be used when looking up executors by qualifier.voidAsyncAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)voidScheduledAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)Making aBeanFactoryavailable is optional; if not set,SchedulingConfigurerbeans won't get autodetected and aschedulerhas to be explicitly configured.org.springframework.scheduling.quartz中BeanFactory的使用
参数类型为BeanFactory的org.springframework.scheduling.quartz中的方法 修饰符和类型 方法 说明 voidMethodInvokingJobDetailFactoryBean. setBeanFactory(BeanFactory beanFactory)voidSchedulerAccessorBean. setBeanFactory(BeanFactory beanFactory)org.springframework.scripting.groovy中BeanFactory的使用
参数类型为BeanFactory的org.springframework.scripting.groovy中的方法 修饰符和类型 方法 说明 voidGroovyScriptFactory. setBeanFactory(BeanFactory beanFactory)org.springframework.scripting.support中BeanFactory的使用
参数类型为BeanFactory的org.springframework.scripting.support中的方法 修饰符和类型 方法 说明 protected ObjectRefreshableScriptTargetSource. obtainFreshBean(BeanFactory beanFactory, String beanName)Obtain a fresh target object, retrieving a FactoryBean if necessary.voidScriptFactoryPostProcessor. setBeanFactory(BeanFactory beanFactory)参数类型为BeanFactory的org.springframework.scripting.support中的构造器 构造器 说明 RefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean)Create a new RefreshableScriptTargetSource.org.springframework.transaction.interceptor中BeanFactory的使用
返回BeanFactory的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected BeanFactoryTransactionAspectSupport. getBeanFactory()Return the BeanFactory to use for retrievingTransactionManagerbeans.参数类型为BeanFactory的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 voidTransactionAspectSupport. setBeanFactory(BeanFactory beanFactory)Set the BeanFactory to use for retrievingTransactionManagerbeans.voidTransactionProxyFactoryBean. setBeanFactory(BeanFactory beanFactory)This callback is optional: If running in a BeanFactory and no transaction manager has been set explicitly, a single matching bean of typePlatformTransactionManagerwill be fetched from the BeanFactory.org.springframework.web.context中BeanFactory的使用
org.springframework.web.context中BeanFactory的子接口 修饰符和类型 接口 说明 interfaceConfigurableWebApplicationContextInterface to be implemented by configurable web application contexts.interfaceWebApplicationContextInterface to provide configuration for a web application.org.springframework.web.context.request.async中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.context.request.async中的方法 修饰符和类型 方法 说明 voidWebAsyncTask. setBeanFactory(BeanFactory beanFactory)ABeanFactoryto use for resolving an executor name.org.springframework.web.context.support中BeanFactory的使用
实现BeanFactory的org.springframework.web.context.support中的类 修饰符和类型 类 说明 classAbstractRefreshableWebApplicationContextAbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.classAnnotationConfigWebApplicationContextWebApplicationContextimplementation which accepts component classes as input — in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classGenericWebApplicationContextSubclass ofGenericApplicationContext, suitable for web environments.classGroovyWebApplicationContextWebApplicationContextimplementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader.classStaticWebApplicationContextStaticWebApplicationContextimplementation for testing.classXmlWebApplicationContextWebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.org.springframework.web.jsf中BeanFactory的使用
返回BeanFactory的org.springframework.web.jsf中的方法 修饰符和类型 方法 说明 protected BeanFactoryDelegatingNavigationHandlerProxy. getBeanFactory(FacesContext facesContext)Retrieve the Spring BeanFactory to delegate bean name resolution to.org.springframework.web.method中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.method中的构造器 构造器 说明 ControllerAdviceBean(String beanName, BeanFactory beanFactory)Create aControllerAdviceBeanusing the given bean name andBeanFactory.ControllerAdviceBean(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice)Create aControllerAdviceBeanusing the given bean name,BeanFactory, and@ControllerAdviceannotation.HandlerMethod(String beanName, BeanFactory beanFactory, Method method)Create an instance from a bean name, a method, and aBeanFactory.org.springframework.web.servlet.mvc.method.annotation中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 voidRequestMappingHandlerAdapter. setBeanFactory(BeanFactory beanFactory)AConfigurableBeanFactoryis expected for resolving expressions in method argument default values.参数类型为BeanFactory的org.springframework.web.servlet.mvc.method.annotation中的构造器 构造器 说明 AsyncTaskMethodReturnValueHandler(BeanFactory beanFactory)org.springframework.web.servlet.view中BeanFactory的使用
返回BeanFactory的org.springframework.web.servlet.view中的方法 修饰符和类型 方法 说明 protected BeanFactoryResourceBundleViewResolver. initFactory(Locale locale)protected BeanFactoryXmlViewResolver. initFactory()Initialize the view bean factory from the XML file.org.springframework.web.socket.client.standard中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.socket.client.standard中的方法 修饰符和类型 方法 说明 voidAnnotatedEndpointConnectionManager. setBeanFactory(BeanFactory beanFactory)voidEndpointConnectionManager. setBeanFactory(BeanFactory beanFactory)org.springframework.web.socket.handler中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.socket.handler中的方法 修饰符和类型 方法 说明 voidBeanCreatingHandlerProvider. setBeanFactory(BeanFactory beanFactory)voidPerConnectionWebSocketHandler. setBeanFactory(BeanFactory beanFactory)org.springframework.web.socket.server.standard中BeanFactory的使用
参数类型为BeanFactory的org.springframework.web.socket.server.standard中的方法 修饰符和类型 方法 说明 voidServerEndpointRegistration. setBeanFactory(BeanFactory beanFactory)