Package | Description |
---|---|
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 |
Generic support classes for target source creation.
|
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 |
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.access.el |
Support classes for accessing a Spring BeanFactory from Unified EL.
|
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 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.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's
LoadTimeWeaver abstraction. |
org.springframework.dao.annotation |
Annotation support for DAOs.
|
org.springframework.dao.support |
Support classes for DAO implementations,
providing miscellaneous utility methods.
|
org.springframework.ejb.interceptor |
Support classes for EJB 3 Session Beans and Message-Driven Beans,
performing injection of Spring beans through an EJB 3 interceptor
that processes Spring's
@Autowired annotation. |
org.springframework.ejb.support |
Base classes to make implementing EJB 2.x beans simpler and less error-prone,
as well as guaranteeing a Spring BeanFactory is available to such EJBs.
|
org.springframework.jca.context |
Integration package that allows for deploying a Spring application context
as a JCA 1.5 compliant RAR file.
|
org.springframework.jdbc.datasource.lookup |
Provides a strategy for looking up JDBC DataSources by name.
|
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 |
JDK 1.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.orm.hibernate3 |
Package providing integration of
Hibernate 3.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 the
org.springframework.orm.jpa package. |
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 |
JDK 1.5+ annotation for asynchronous method execution.
|
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 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.jsf.el |
Support classes for integrating a JSF 1.2 web tier with a Spring middle tier
which is hosted in a Spring root WebApplicationContext.
|
org.springframework.web.method |
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package. |
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.portlet.mvc.annotation |
Support package for annotation-based Portlet MVC controllers.
|
org.springframework.web.servlet.mvc.annotation |
Support package for annotation-based Servlet MVC controllers.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.view |
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
|
Modifier and Type | Method and Description |
---|---|
void |
AspectJExpressionPointcut.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleBeanFactoryAwareAspectInstanceFactory.setBeanFactory(BeanFactory beanFactory) |
void |
MethodLocatingFactoryBean.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
AbstractAutoProxyCreator.getBeanFactory()
Return the owning BeanFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAdvisorAutoProxyCreator.setBeanFactory(BeanFactory beanFactory) |
void |
AbstractAutoProxyCreator.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
AbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()
Return the BeanFactory that this TargetSourceCreators runs in.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactoryBasedTargetSourceCreator.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncExecutionAspectSupport.setBeanFactory(BeanFactory beanFactory)
Set the
BeanFactory to be used when looking up executors by qualifier. |
Modifier and Type | Method and Description |
---|---|
void |
ScopedProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactoryPointcutAdvisor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
BeanFactory |
AbstractBeanFactoryBasedTargetSource.getBeanFactory()
Return the owning BeanFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactoryBasedTargetSource.setBeanFactory(BeanFactory beanFactory)
Set the owning BeanFactory.
|
void |
AbstractPoolingTargetSource.setBeanFactory(BeanFactory beanFactory) |
void |
AbstractPrototypeBasedTargetSource.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BeanFactoryRefreshableTargetSource.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.
|
Constructor and Description |
---|
BeanFactoryRefreshableTargetSource(BeanFactory beanFactory,
String beanName)
Create a new BeanFactoryRefreshableTargetSource for the given
bean factory and bean name.
|
Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
BeanFactory |
HierarchicalBeanFactory.getParentBeanFactory()
Return the parent bean factory, or
null if there is none. |
Modifier and Type | Method and Description |
---|---|
void |
BeanFactoryAware.setBeanFactory(BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance.
|
Modifier and Type | Method and Description |
---|---|
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.)
This is split out as a separate method so that subclasses can override the actual
type used (to be an ApplicationContext, for example).
|
BeanFactory |
BeanFactoryReference.getFactory()
Return the
BeanFactory instance held by this reference. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
SimpleSpringBeanELResolver.getBeanFactory(javax.el.ELContext elContext) |
protected abstract BeanFactory |
SpringBeanELResolver.getBeanFactory(javax.el.ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.
|
Constructor and Description |
---|
SimpleSpringBeanELResolver(BeanFactory beanFactory)
Create a new SimpleSpringBeanELResolver for the given BeanFactory.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory beanFactory,
Class<T> beanType,
String qualifier)
Obtain a bean of type
T from the given BeanFactory declaring a
qualifier (e.g. |
void |
AutowiredAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) |
void |
QualifierAnnotationAutowireCandidateResolver.setBeanFactory(BeanFactory beanFactory) |
void |
RequiredAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
AbstractFactoryBean.getBeanFactory()
Return the BeanFactory that this bean runs in.
|
Modifier and Type | Method and Description |
---|---|
void |
PlaceholderConfigurerSupport.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 |
ServiceLocatorFactoryBean.setBeanFactory(BeanFactory beanFactory) |
void |
PropertyPathFactoryBean.setBeanFactory(BeanFactory beanFactory) |
void |
BeanReferenceFactoryBean.setBeanFactory(BeanFactory beanFactory)
Deprecated.
|
void |
MethodInvokingFactoryBean.setBeanFactory(BeanFactory beanFactory) |
void |
AbstractFactoryBean.setBeanFactory(BeanFactory beanFactory) |
void |
ConfigurableBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory)
Set the parent of this bean factory.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
BeanFactory |
AbstractBeanFactory.getParentBeanFactory() |
Modifier and Type | Method and Description |
---|---|
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 |
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(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.
|
protected Object |
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(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.
|
void |
AbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory) |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
BeanConfigurerSupport.setBeanFactory(BeanFactory beanFactory)
Set the
BeanFactory in which this aspect must configure beans. |
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanFactory
Deprecated.
as of Spring 3.1 in favor of
DefaultListableBeanFactory and
XmlBeanDefinitionReader |
Constructor and Description |
---|
XmlBeanFactory(Resource resource,
BeanFactory parentBeanFactory)
Deprecated.
Create a new XmlBeanFactory with the given input stream,
which must be parsable using DOM.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ApplicationContext
Central interface to provide configuration for an application.
|
interface |
ConfigurableApplicationContext
SPI interface to be implemented by most if not all application contexts.
|
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
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() . |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigApplicationContext
Standalone application context, accepting annotated classes as input - in particular
@Configuration -annotated classes, but also plain
@Component types and JSR-330 compliant
classes using javax.inject annotations. |
Modifier and Type | Method and Description |
---|---|
protected Object |
CommonAnnotationBeanPostProcessor.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.
|
void |
CommonAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) |
void |
MBeanExportConfiguration.setBeanFactory(BeanFactory beanFactory) |
void |
CommonAnnotationBeanPostProcessor.setJndiFactory(BeanFactory jndiFactory)
Specify the factory for objects to be injected into
@Resource /
@WebServiceRef / @EJB annotated fields and setter methods,
for mappedName attributes that point directly into JNDI. |
void |
CommonAnnotationBeanPostProcessor.setResourceFactory(BeanFactory resourceFactory)
Specify the factory for objects to be injected into
@Resource /
@WebServiceRef / @EJB annotated fields and setter methods,
for name attributes and default names. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractApplicationEventMulticaster.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
SimpleApplicationEventMulticaster(BeanFactory beanFactory)
Create a new SimpleApplicationEventMulticaster for the given BeanFactory.
|
Constructor and Description |
---|
BeanFactoryResolver(BeanFactory beanFactory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractApplicationContext
Abstract implementation of the
ApplicationContext
interface. |
class |
AbstractRefreshableApplicationContext
Base class for
ApplicationContext
implementations which are supposed to support multiple calls to AbstractApplicationContext.refresh() ,
creating a new internal bean factory instance every time. |
class |
AbstractRefreshableConfigApplicationContext
AbstractRefreshableApplicationContext subclass that adds common handling
of specified config locations. |
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 |
GenericXmlApplicationContext
Convenient application context with built-in XML support.
|
class |
StaticApplicationContext
ApplicationContext implementation
which supports programmatic registration of beans and messages,
rather than reading bean definitions from external configuration sources. |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultLifecycleProcessor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
LoadTimeWeaverAwareProcessor.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
LoadTimeWeaverAwareProcessor(BeanFactory beanFactory)
Create a new
LoadTimeWeaverAwareProcessor . |
Modifier and Type | Method and Description |
---|---|
void |
PersistenceExceptionTranslationPostProcessor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
PersistenceExceptionTranslationInterceptor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
SpringBeanAutowiringInterceptor.getBeanFactory(Object target)
Determine the BeanFactory for autowiring the given target bean.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
AbstractEnterpriseBean.getBeanFactory()
Deprecated.
May be called after
ejbCreate() . |
Modifier and Type | Class and Description |
---|---|
class |
ResourceAdapterApplicationContext
ApplicationContext implementation
for a JCA ResourceAdapter. |
Modifier and Type | Method and Description |
---|---|
void |
BeanFactoryDataSourceLookup.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
BeanFactoryDataSourceLookup(BeanFactory beanFactory)
Create a new instance of the
BeanFactoryDataSourceLookup class. |
Modifier and Type | Method and Description |
---|---|
void |
BeanFactoryDestinationResolver.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
BeanFactoryDestinationResolver(BeanFactory beanFactory)
Create a new instance of the
BeanFactoryDestinationResolver class. |
Modifier and Type | Method and Description |
---|---|
void |
MBeanExporter.setBeanFactory(BeanFactory beanFactory)
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationMBeanExporter.setBeanFactory(BeanFactory beanFactory) |
void |
AnnotationJmxAttributeSource.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
JndiObjectFactoryBean.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleJndiBeanFactory
Simple JNDI-based implementation of Spring's
BeanFactory interface. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEntityManagerFactoryBean.setBeanFactory(BeanFactory beanFactory) |
void |
JpaTransactionManager.setBeanFactory(BeanFactory beanFactory)
Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.
|
void |
EntityManagerFactoryAccessor.setBeanFactory(BeanFactory beanFactory)
Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.
|
Modifier and Type | Method and Description |
---|---|
void |
PersistenceAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJaxWsServiceExporter.setBeanFactory(BeanFactory beanFactory)
Obtains all web service beans and publishes them as JAX-WS endpoints.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) |
void |
AsyncAnnotationAdvisor.setBeanFactory(BeanFactory beanFactory)
Set the
BeanFactory to be used when looking up executors by qualifier. |
Modifier and Type | Method and Description |
---|---|
void |
GroovyScriptFactory.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
RefreshableScriptTargetSource.obtainFreshBean(BeanFactory beanFactory,
String beanName)
Obtain a fresh target object, retrieving a FactoryBean if necessary.
|
void |
ScriptFactoryPostProcessor.setBeanFactory(BeanFactory beanFactory) |
Constructor and Description |
---|
RefreshableScriptTargetSource(BeanFactory beanFactory,
String beanName,
ScriptFactory scriptFactory,
ScriptSource scriptSource,
boolean isFactoryBean)
Create a new RefreshableScriptTargetSource.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
TransactionAspectSupport.getBeanFactory()
Return the BeanFactory to use for retrieving PlatformTransactionManager beans.
|
Modifier and Type | Method and Description |
---|---|
static PlatformTransactionManager |
TransactionAspectUtils.getTransactionManager(BeanFactory beanFactory,
String qualifier)
Deprecated.
as of Spring 3.1.2 in favor of
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String) |
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. |
void |
TransactionAspectSupport.setBeanFactory(BeanFactory beanFactory)
Set the BeanFactory to use for retrieving PlatformTransactionManager beans.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableWebApplicationContext
Interface to be implemented by configurable web application contexts.
|
interface |
WebApplicationContext
Interface to provide configuration for a web application.
|
Modifier and Type | Method and Description |
---|---|
void |
WebAsyncTask.setBeanFactory(BeanFactory beanFactory)
A
BeanFactory to use for resolving an executor name. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefreshableWebApplicationContext
AbstractRefreshableApplicationContext
subclass which implements the
ConfigurableWebApplicationContext
interface for web environments. |
class |
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts annotated classes as input - in particular
@Configuration -annotated
classes, but also plain @Component
classes and JSR-330 compliant classes using javax.inject annotations. |
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 . |
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
DelegatingNavigationHandlerProxy.getBeanFactory(javax.faces.context.FacesContext facesContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.
|
protected BeanFactory |
DelegatingVariableResolver.getBeanFactory(javax.faces.context.FacesContext facesContext)
Deprecated.
Retrieve the Spring BeanFactory to delegate bean name resolution to.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
SpringBeanFacesELResolver.getBeanFactory(javax.el.ELContext elContext)
This implementation delegates to
SpringBeanFacesELResolver.getWebApplicationContext(javax.el.ELContext) . |
Constructor and Description |
---|
ControllerAdviceBean(String beanName,
BeanFactory beanFactory)
Create an instance using the given bean name.
|
HandlerMethod(String beanName,
BeanFactory beanFactory,
Method method)
Create an instance from a bean name, a method, and a
BeanFactory . |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurablePortletApplicationContext
Interface to be implemented by configurable portlet application contexts.
|
Modifier and Type | Class and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationMethodHandlerAdapter.setBeanFactory(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationMethodHandlerAdapter.setBeanFactory(BeanFactory beanFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingHandlerAdapter.setBeanFactory(BeanFactory beanFactory)
A
ConfigurableBeanFactory is expected for resolving expressions
in method argument default values. |
Constructor and Description |
---|
AsyncTaskMethodReturnValueHandler(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected BeanFactory |
XmlViewResolver.initFactory()
Initialize the view bean factory from the XML file.
|
protected BeanFactory |
ResourceBundleViewResolver.initFactory(Locale locale)
|
Copyright © 2015. All rights reserved.