Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.springframework.beans.factory.BeanFactory

Packages that use BeanFactory
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 | Generic support classes for target source creation.
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 | This package contains implementations of the org.springframework.aop.TargetSource interface.
org.springframework.aop.target.dynamic | Support for AOP-based refreshing of target objects.
org.springframework.beans.factory | The core package implementing Spring's lightweight Inversion of Control (IoC) container.
org.springframework.beans.factory.access | Helper infrastructure to locate and access bean factories.
org.springframework.beans.factory.config | SPI interfaces and configuration-related convenience classes for bean factories.
org.springframework.beans.factory.support | Classes supporting the `org.springframework.beans.factory` package.
org.springframework.beans.factory.wiring | Mechanism to determine bean wiring metadata from a bean instance.
org.springframework.beans.factory.xml | Contains an abstract XML-based `BeanFactory` implementation, including a standard "spring-beans" DTD.
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.access | Helper infrastructure to locate and access shared application contexts.
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.dao.annotation | Annotation support for DAOs.
org.springframework.dao.support | Support classes for DAO implementations, providing miscellaneous utility methods.
org.springframework.ejb.support | Superclasses to make implementing EJBs simpler and less error-prone, as well as guaranteeing a Spring BeanFactory is available to EJBs.
org.springframework.jdbc.datasource.lookup | Provides a strategy for looking up JDBC DataSources by name.
org.springframework.jmx.export | This package provides declarative creation and registration of Spring-managed beans as JMX MBeans.
org.springframework.orm.hibernate | Package providing integration of Hibernate 2.1 with Spring concepts.
org.springframework.orm.hibernate3 | Package providing integration of Hibernate3 with Spring concepts.
org.springframework.orm.jpa.support | Classes supporting the `org.springframework.orm.jpa` package.
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.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.support | Classes supporting the `org.springframework.web.context` package, such as WebApplicationContext implementations and various utility classes.
org.springframework.web.jsf | Support classes for integrating a JSF web tier with a Spring middle tier which is hosted in a Spring root WebApplicationContext.
org.springframework.web.portlet.context | Support for Spring's application context concept in a portlet environment, including ApplicationContext implementations and various utility classes.
org.springframework.web.servlet.view | Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.

Uses of BeanFactory in org.springframework.aop.aspectj.annotation

Constructors in org.springframework.aop.aspectj.annotation with parameters of type BeanFactory
`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.

Uses of BeanFactory in org.springframework.aop.config

Methods in org.springframework.aop.config with parameters of type BeanFactory
`void` | `SimpleBeanFactoryAwareAspectInstanceFactory.setBeanFactory(BeanFactory beanFactory)`
`void` | `MethodLocatingFactoryBean.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.framework

Methods in org.springframework.aop.framework with parameters of type BeanFactory
`void` | `ProxyFactoryBean.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.framework.autoproxy

Methods in org.springframework.aop.framework.autoproxy that return BeanFactory
`protected BeanFactory` | `AbstractAutoProxyCreator.getBeanFactory()` Return the owning BeanFactory May be `null`, as this object doesn't need to belong to a bean factory.

Methods in org.springframework.aop.framework.autoproxy with parameters of type BeanFactory
`void` | `AbstractAutoProxyCreator.setBeanFactory(BeanFactory beanFactory)`
`void` | `AbstractAdvisorAutoProxyCreator.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.framework.autoproxy.target

Methods in org.springframework.aop.framework.autoproxy.target that return BeanFactory
`protected BeanFactory` | `AbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()` Return the BeanFactory that this TargetSourceCreators runs in.

Methods in org.springframework.aop.framework.autoproxy.target with parameters of type BeanFactory
`void` | `AbstractBeanFactoryBasedTargetSourceCreator.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.scope

Methods in org.springframework.aop.scope with parameters of type BeanFactory
`void` | `ScopedProxyFactoryBean.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.support

Methods in org.springframework.aop.support with parameters of type BeanFactory
`void` | `AbstractBeanFactoryPointcutAdvisor.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.aop.target

Methods in org.springframework.aop.target that return BeanFactory
`BeanFactory` | `AbstractBeanFactoryBasedTargetSource.getBeanFactory()` Return the owning BeanFactory.

Methods in org.springframework.aop.target with parameters of type BeanFactory
`void` | `AbstractPrototypeBasedTargetSource.setBeanFactory(BeanFactory beanFactory)`
`void` | `AbstractPoolingTargetSource.setBeanFactory(BeanFactory beanFactory)`
`void` | `AbstractBeanFactoryBasedTargetSource.setBeanFactory(BeanFactory beanFactory)` Set the owning BeanFactory.

Uses of BeanFactory in org.springframework.aop.target.dynamic

Constructors in org.springframework.aop.target.dynamic with parameters of type BeanFactory
`BeanFactoryRefreshableTargetSource(BeanFactory beanFactory, String beanName)` Create a new BeanFactoryRefreshableTargetSource for the given bean factory and bean name.

Uses of BeanFactory in org.springframework.beans.factory

Subinterfaces of BeanFactory in org.springframework.beans.factory
`interface` | `HierarchicalBeanFactory` Sub-interface implemented by bean factories that can be part of a hierarchy.
`interface` | `ListableBeanFactory` Extension of the `BeanFactory` interface 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.

Methods in org.springframework.beans.factory that return BeanFactory
`BeanFactory` | `HierarchicalBeanFactory.getParentBeanFactory()` Return the parent bean factory, or `null` if there is none.

Methods in org.springframework.beans.factory with parameters of type BeanFactory
`void` | `BeanFactoryAware.setBeanFactory(BeanFactory beanFactory)` Callback that supplies the owning factory to a bean instance.

Uses of BeanFactory in org.springframework.beans.factory.access

Methods in org.springframework.beans.factory.access that return BeanFactory
`protected BeanFactory` | `SingletonBeanFactoryLocator.createDefinition(String resourceLocation, String factoryKey)` Actually creates definition in the form of a BeanFactory, given a resource name which supports standard Spring resource prefixes ('classpath:', 'classpath*:', etc.)
`BeanFactory` | `BeanFactoryReference.getFactory()` Return the `BeanFactory` instance held by this reference.

Methods in org.springframework.beans.factory.access with parameters of type BeanFactory
`protected void` | `SingletonBeanFactoryLocator.destroyDefinition(BeanFactory groupDef, String selector)` Destroy definition in separate method so subclass may work with other definition types.
`protected void` | `SingletonBeanFactoryLocator.initializeDefinition(BeanFactory groupDef)` Instantiate singletons and do any other normal initialization of the factory.

Uses of BeanFactory in org.springframework.beans.factory.config

Subinterfaces of BeanFactory in org.springframework.beans.factory.config
`interface` | `AutowireCapableBeanFactory` Extension of the `BeanFactory` interface to be implemented by bean factories that are capable of autowiring, provided that they want to expose this functionality for existing bean instances.
`interface` | `ConfigurableBeanFactory` Configuration interface to be implemented by most bean factories.
`interface` | `ConfigurableListableBeanFactory` Configuration interface to be implemented by most listable bean factories.

Methods in org.springframework.beans.factory.config that return BeanFactory
`protected BeanFactory` | `AbstractFactoryBean.getBeanFactory()` Return the BeanFactory that this bean runs in.

Methods in org.springframework.beans.factory.config with parameters of type BeanFactory
`void` | `ServiceLocatorFactoryBean.setBeanFactory(BeanFactory beanFactory)`
`void` | `PropertyPlaceholderConfigurer.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.
`void` | `PropertyPathFactoryBean.setBeanFactory(BeanFactory beanFactory)`
`void` | `MethodInvokingFactoryBean.setBeanFactory(BeanFactory beanFactory)`
`void` | `BeanReferenceFactoryBean.setBeanFactory(BeanFactory beanFactory)`
`void` | `AbstractFactoryBean.setBeanFactory(BeanFactory beanFactory)`
`void` | `ConfigurableBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory)` Set the parent of this bean factory.

Uses of BeanFactory in org.springframework.beans.factory.support

Classes in org.springframework.beans.factory.support that implement BeanFactory
`class` | `AbstractAutowireCapableBeanFactory` Abstract bean factory superclass that implements default bean creation, with the full capabilities specified by the `RootBeanDefinition` class.
`class` | `AbstractBeanFactory` Abstract base class for `BeanFactory` implementations, providing the full capabilities of the `ConfigurableBeanFactory` SPI.
`class` | `DefaultListableBeanFactory` Default implementation of the `ListableBeanFactory` and `BeanDefinitionRegistry` interfaces: a full-fledged bean factory based on bean definition objects.
`class` | `StaticListableBeanFactory` Static `BeanFactory` implementation which allows to register existing singleton instances programmatically.

Methods in org.springframework.beans.factory.support that return BeanFactory
`BeanFactory` | `AbstractBeanFactory.getParentBeanFactory()`

Methods in org.springframework.beans.factory.support with parameters of type BeanFactory
`Object` | `SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)`
`Object` | `InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)` Return an instance of the bean with the given name in this factory.
`Object` | `SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor ctor, Object[] args)`
`Object` | `InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, 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.
`Object` | `SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object[] args)`
`Object` | `InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, 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.
`protected Object` | `SimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, 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 Object` | `CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)`
`protected Object` | `SimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, 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.
`protected Object` | `CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor ctor, Object[] args)`
`void` | `AbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory)`

Constructors in org.springframework.beans.factory.support with parameters of type BeanFactory
`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.

Uses of BeanFactory in org.springframework.beans.factory.wiring

Methods in org.springframework.beans.factory.wiring with parameters of type BeanFactory
`void` | `BeanConfigurerSupport.setBeanFactory(BeanFactory beanFactory)` Set the `BeanFactory` in which this aspect must configure beans.

Uses of BeanFactory in org.springframework.beans.factory.xml

Classes in org.springframework.beans.factory.xml that implement BeanFactory
`class` | `XmlBeanFactory` Convenience extension of `DefaultListableBeanFactory` that reads bean definitions from an XML document.

Constructors in org.springframework.beans.factory.xml with parameters of type BeanFactory
`XmlBeanFactory(Resource resource, BeanFactory parentBeanFactory)` Create a new XmlBeanFactory with the given input stream, which must be parsable using DOM.

Uses of BeanFactory in org.springframework.context

Subinterfaces of BeanFactory in org.springframework.context
`interface` | `ApplicationContext` Central interface to provide configuration for an application.
`interface` | `ConfigurableApplicationContext` SPI interface to be implemented by most if not all application contexts.

Uses of BeanFactory in org.springframework.context.access

Methods in org.springframework.context.access that return BeanFactory
`protected BeanFactory` | `ContextSingletonBeanFactoryLocator.createDefinition(String resourceLocation, String factoryKey)` Overrides the default method to create definition object as an ApplicationContext instead of the default BeanFactory.
`BeanFactory` | `ContextBeanFactoryReference.getFactory()`

Methods in org.springframework.context.access with parameters of type BeanFactory
`protected void` | `ContextSingletonBeanFactoryLocator.destroyDefinition(BeanFactory groupDef, String selector)` Overrides the default method to operate on an ApplicationContext, invoking `ConfigurableApplicationContext.close()`.
`protected void` | `ContextSingletonBeanFactoryLocator.initializeDefinition(BeanFactory groupDef)` Overrides the default method to refresh the ApplicationContext, invoking `ConfigurableApplicationContext.refresh()`.

Uses of BeanFactory in org.springframework.context.support

Classes in org.springframework.context.support that implement BeanFactory
`class` | `AbstractApplicationContext` Abstract implementation of the `ApplicationContext` interface.
`class` | `AbstractRefreshableApplicationContext` Base class for `ApplicationContext` implementations which are supposed to support multiple refreshs, creating a new internal bean factory instance every time.
`class` | `AbstractXmlApplicationContext` Convenient base class for `ApplicationContext` implementations, drawing configuration from XML documents containing bean definitions understood by an `XmlBeanDefinitionReader`.
`class` | `ClassPathXmlApplicationContext` Standalone 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.
`class` | `FileSystemXmlApplicationContext` Standalone 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.
`class` | `GenericApplicationContext` Generic ApplicationContext implementation that holds a single internal `DefaultListableBeanFactory` instance and does not assume a specific bean definition format.
`class` | `StaticApplicationContext` `ApplicationContext` implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.

Methods in org.springframework.context.support that return BeanFactory
`protected BeanFactory` | `AbstractApplicationContext.getInternalParentBeanFactory()` Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.
`BeanFactory` | `AbstractApplicationContext.getParentBeanFactory()`

Uses of BeanFactory in org.springframework.dao.annotation

Methods in org.springframework.dao.annotation with parameters of type BeanFactory
`void` | `PersistenceExceptionTranslationPostProcessor.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.dao.support

Methods in org.springframework.dao.support with parameters of type BeanFactory
`void` | `PersistenceExceptionTranslationInterceptor.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.ejb.support

Methods in org.springframework.ejb.support that return BeanFactory
`protected BeanFactory` | `AbstractEnterpriseBean.getBeanFactory()` May be called after ejbCreate().

Uses of BeanFactory in org.springframework.jdbc.datasource.lookup

Methods in org.springframework.jdbc.datasource.lookup with parameters of type BeanFactory
`void` | `BeanFactoryDataSourceLookup.setBeanFactory(BeanFactory beanFactory)`

Constructors in org.springframework.jdbc.datasource.lookup with parameters of type BeanFactory
`BeanFactoryDataSourceLookup(BeanFactory beanFactory)` Create a new instance of the `BeanFactoryDataSourceLookup` class.

Uses of BeanFactory in org.springframework.jmx.export

Methods in org.springframework.jmx.export with parameters of type BeanFactory
`void` | `MBeanExporter.setBeanFactory(BeanFactory beanFactory)` This callback is only required for resolution of bean names in the "beans" `Map` and for autodetection of MBeans (in the latter case, a `ListableBeanFactory` is required).

Uses of BeanFactory in org.springframework.orm.hibernate

Methods in org.springframework.orm.hibernate with parameters of type BeanFactory
`void` | `HibernateTransactionManager.setBeanFactory(BeanFactory beanFactory)` The bean factory just needs to be known for resolving entity interceptor bean names.
`void` | `HibernateAccessor.setBeanFactory(BeanFactory beanFactory)` The bean factory just needs to be known for resolving entity interceptor bean names.

Uses of BeanFactory in org.springframework.orm.hibernate3

Methods in org.springframework.orm.hibernate3 with parameters of type BeanFactory
`void` | `HibernateTransactionManager.setBeanFactory(BeanFactory beanFactory)` The bean factory just needs to be known for resolving entity interceptor bean names.
`void` | `HibernateAccessor.setBeanFactory(BeanFactory beanFactory)` The bean factory just needs to be known for resolving entity interceptor bean names.

Uses of BeanFactory in org.springframework.orm.jpa.support

Methods in org.springframework.orm.jpa.support with parameters of type BeanFactory
`void` | `PersistenceAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.scheduling.quartz

Methods in org.springframework.scheduling.quartz with parameters of type BeanFactory
`void` | `MethodInvokingJobDetailFactoryBean.setBeanFactory(BeanFactory beanFactory)`

Uses of BeanFactory in org.springframework.scripting.support

Methods in org.springframework.scripting.support with parameters of type BeanFactory
`void` | `ScriptFactoryPostProcessor.setBeanFactory(BeanFactory beanFactory)`

Constructors in org.springframework.scripting.support with parameters of type BeanFactory
`RefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptSource scriptSource)` Create a new RefreshableScriptTargetSource.

Uses of BeanFactory in org.springframework.transaction.interceptor

Methods in org.springframework.transaction.interceptor with parameters of type BeanFactory
`void` | `TransactionProxyFactoryBean.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 type PlatformTransactionManager will be fetched from the BeanFactory.

Uses of BeanFactory in org.springframework.web.context

Subinterfaces of BeanFactory in org.springframework.web.context
`interface` | `ConfigurableWebApplicationContext` Interface to be implemented by configurable web application contexts.
`interface` | `WebApplicationContext` Interface to provide configuration for a web application.

Uses of BeanFactory in org.springframework.web.context.support

Classes in org.springframework.web.context.support that implement BeanFactory
`class` | `AbstractRefreshableWebApplicationContext` `AbstractRefreshableApplicationContext` subclass which implements the `ConfigurableWebApplicationContext` interface for web environments.
`class` | `GenericWebApplicationContext` Subclass of GenericApplicationContext, suitable for web environments.
`class` | `StaticWebApplicationContext` Static `WebApplicationContext` implementation for testing.
`class` | `XmlWebApplicationContext` `WebApplicationContext` implementation which takes its configuration from XML documents, understood by an `XmlBeanDefinitionReader`.

Uses of BeanFactory in org.springframework.web.jsf

Methods in org.springframework.web.jsf that return BeanFactory
`protected BeanFactory` | `DelegatingVariableResolver.getBeanFactory(javax.faces.context.FacesContext facesContext)` Retrieve the Spring BeanFactory to delegate bean name resolution to.
`protected BeanFactory` | `DelegatingNavigationHandlerProxy.getBeanFactory(javax.faces.context.FacesContext facesContext)` Retrieve the Spring BeanFactory to delegate bean name resolution to.

Uses of BeanFactory in org.springframework.web.portlet.context

Subinterfaces of BeanFactory in org.springframework.web.portlet.context
`interface` | `ConfigurablePortletApplicationContext` Interface to be implemented by configurable portlet application contexts.

Classes in org.springframework.web.portlet.context that implement BeanFactory
`class` | `AbstractRefreshablePortletApplicationContext` `AbstractRefreshableApplicationContext` subclass which implements the `ConfigurablePortletApplicationContext` interface for portlet environments.
`class` | `StaticPortletApplicationContext` Static Portlet-based ApplicationContext implementation for testing.
`class` | `XmlPortletApplicationContext` Portlet-based `WebApplicationContext` implementation which takes its configuration from XML documents, understood by an `XmlBeanDefinitionReader`.

Uses of BeanFactory in org.springframework.web.servlet.view

Methods in org.springframework.web.servlet.view that return BeanFactory
`protected BeanFactory` | `XmlViewResolver.initFactory()` Initialize the view bean factory from the XML file.
`protected BeanFactory` | `ResourceBundleViewResolver.initFactory(Locale locale)` Initialize the View `BeanFactory` from the `ResourceBundle`, for the given `locale`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2007 The Spring Framework.