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.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 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.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.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.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.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.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
 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.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.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
protected  void CommonsPoolTargetSource.createPool(BeanFactory beanFactory)
          Creates and holds an ObjectPool instance.
protected abstract  void AbstractPoolingTargetSource.createPool(BeanFactory beanFactory)
          Create the pool.
 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.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 BeanFactoryBootstrap.getBeanFactory()
          Deprecated. Return the BeanFactory managed by the Bootstrap.
 BeanFactory BeanFactoryReference.getFactory()
          Returns 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 resourceName)
          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 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 BeanReferenceFactoryBean.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 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 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 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.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
protected  void ContextSingletonBeanFactoryLocator.initializeDefinition(BeanFactory groupDef)
          Overrides default method to initialize definition object, which this method assumes is a ConfigurableApplicationContext.
 

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
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.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.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.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 GenericWebApplicationContext
          Subclass of GenericApplicationContext, suitable 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.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.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 BeanFactory from the ResourceBundle, for the given locale.
 



Copyright (c) 2002-2007 The Spring Framework Project.