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

Packages that use BeanFactory
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.metadata Support classes for target source creation that is driven by source-level metadata attributes. 
org.springframework.aop.framework.autoproxy.target Generic support classes for target source creation. 
org.springframework.aop.target This package contains implementations of the org.springframework.aop.TargetSource interface.  
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.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 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.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.orm.hibernate Package providing integration of Hibernate with Spring concepts.  
org.springframework.orm.ojb.support Classes supporting the org.springframework.orm.ojb package.  
org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.  
org.springframework.web.context Contains the application context subinterface for web applications, and the ContextLoaderListener that bootstraps the root web application context. 
org.springframework.web.context.support Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations, and a utility class for retrieval of the root application context etc. 
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.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
 TargetSource TargetSourceCreator.getTargetSource(Object bean, String beanName, BeanFactory factory)
          Create a special TargetSource for the given bean, if any.
 void AbstractAutoProxyCreator.setBeanFactory(BeanFactory beanFactory)
           
 void AbstractAdvisorAutoProxyCreator.setBeanFactory(BeanFactory beanFactory)
          We override this method to ensure that all candidate advisors are materialized under a stack trace including this bean.
 

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

Methods in org.springframework.aop.framework.autoproxy.metadata with parameters of type BeanFactory
protected  AbstractPrototypeBasedTargetSource AttributesThreadLocalTargetSourceCreator.createPrototypeTargetSource(Object bean, String beanName, BeanFactory bf)
           
protected  AbstractPrototypeBasedTargetSource AttributesPrototypeTargetSourceCreator.createPrototypeTargetSource(Object bean, String beanName, BeanFactory bf)
           
protected  PoolingAttribute AttributesPoolingTargetSourceCreator.getPoolingAttribute(Object bean, String beanName, BeanFactory beanFactory)
           
 

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

Methods in org.springframework.aop.framework.autoproxy.target with parameters of type BeanFactory
protected  AbstractPrototypeBasedTargetSource QuickTargetSourceCreator.createPrototypeTargetSource(Object bean, String beanName, BeanFactory factory)
           
 TargetSource AbstractPrototypeBasedTargetSourceCreator.getTargetSource(Object bean, String beanName, BeanFactory factory)
           
protected abstract  AbstractPrototypeBasedTargetSource AbstractPrototypeBasedTargetSourceCreator.createPrototypeTargetSource(Object bean, String beanName, BeanFactory factory)
          Subclasses must implement this method to return a new AbstractPrototypeBasedTargetSource if they wish to create a custom TargetSource for this bean, or null if they are not interested it in, in which case no special target source will be created.
protected  AbstractPrototypeBasedTargetSource AbstractPoolingTargetSourceCreator.createPrototypeTargetSource(Object bean, String beanName, BeanFactory factory)
           
protected abstract  PoolingAttribute AbstractPoolingTargetSourceCreator.getPoolingAttribute(Object bean, String beanName, BeanFactory beanFactory)
          Create a PoolingAttribute for the given bean, if any.
 

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 AbstractBeanFactoryBasedTargetSource.setBeanFactory(BeanFactory beanFactory)
          Set the owning BeanFactory.
protected  void CommonsPoolTargetSource.createPool(BeanFactory beanFactory)
           
 void AbstractPrototypeBasedTargetSource.setBeanFactory(BeanFactory beanFactory)
           
 void AbstractPoolingTargetSource.setBeanFactory(BeanFactory beanFactory)
           
protected abstract  void AbstractPoolingTargetSource.createPool(BeanFactory beanFactory)
          Create the pool.
 

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 resourceName, 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()
          Returns the BeanFactory instance held by this reference
 BeanFactory BeanFactoryBootstrap.getBeanFactory()
          Return the BeanFactory managed by the Bootstrap.
 BeanFactory DefaultBeanFactoryReference.getFactory()
           
 

Methods in org.springframework.beans.factory.access with parameters of type BeanFactory
protected  void SingletonBeanFactoryLocator.destroyDefinition(BeanFactory groupDef, String resourceName)
          Destroy definition in separate method so subclass may work with other definition types.
 

Constructors in org.springframework.beans.factory.access with parameters of type BeanFactory
DefaultBeanFactoryReference(BeanFactory beanFactory)
           
 

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 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 ObjectFactoryCreatingFactoryBean.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 BeanFactory superclass that implements default bean creation, with the full capabilities specified by the RootBeanDefinition class.
 class AbstractBeanFactory
          Abstract superclass for BeanFactory implementations, implementing the ConfigurableBeanFactory SPI interface.
 class DefaultListableBeanFactory
          Default implementation of the ListableBeanFactory and BeanDefinitionRegistry interfaces: a full-fledged bean factory based on bean definitions.
 class StaticListableBeanFactory
          Static factory that 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 InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)
          Return an instance of the bean with the given name in this factory.
 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 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 CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)
           
protected  Object CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor ctor, Object[] args)
           
 void AbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory)
           
 Object SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)
           
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.
 Object SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor ctor, Object[] args)
           
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.
 Object SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object[] args)
           
 

Constructors in org.springframework.beans.factory.support with parameters of type BeanFactory
DefaultListableBeanFactory(BeanFactory parentBeanFactory)
          Create a new DefaultListableBeanFactory with the given parent.
AbstractAutowireCapableBeanFactory(BeanFactory parentBeanFactory)
          Create a new AbstractAutowireCapableBeanFactory with the given parent.
AbstractBeanFactory(BeanFactory parentBeanFactory)
          Create a new AbstractBeanFactory with the given parent.
 

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 resourceName, String factoryKey)
          Overrides 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 resourceName)
          Overrides default method to work with ApplicationContext
 

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 that are supposed to support multiple refreshs, creating a new internal bean factory instance every time.
 class AbstractXmlApplicationContext
          Convenient abstract superclass 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.
 class FileSystemXmlApplicationContext
          Standalone XML application context, taking the context definition files from the file system or from URLs.
 class GenericApplicationContext
          Generic ApplicationContext implementation that holds a single internal DefaultListableBeanFactory instance and does not assume a specific bean definition format.
 class StaticApplicationContext
          ApplicationContext that allows concrete registration of beans and messages in code, rather than from external configuration sources.
 

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

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.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 HibernateInterceptor.setBeanFactory(BeanFactory beanFactory)
          The bean factory just needs to be known for resolving entity interceptor bean names.
 

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

Fields in org.springframework.orm.ojb.support declared as BeanFactory
protected static BeanFactory LocalDataSourceConnectionFactory.beanFactory
          This will hold the BeanFactory to retrieve DataSource beans from.
 

Methods in org.springframework.orm.ojb.support with parameters of type BeanFactory
 void LocalOjbConfigurer.setBeanFactory(BeanFactory beanFactory)
           
 

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 that implements the ConfigurableWebApplicationContext interface for web environments.
 class StaticWebApplicationContext
          Static WebApplicationContext implementation for testing.
 class XmlWebApplicationContext
          WebApplicationContext implementation that takes configuration from an XML document, 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 BeanFactory from the XML file.
protected  BeanFactory ResourceBundleViewResolver.initFactory(Locale locale)
          Initialize the BeanFactory from the ResourceBundle, for the given locale.
 



Copyright (C) 2003-2004 The Spring Framework Project.