Package | Description |
---|---|
org.springframework.aop.aspectj.annotation |
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
|
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.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.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
org.springframework.context |
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
org.springframework.context.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.jca.context |
Integration package that allows for deploying a Spring application context
as a JCA 1.7 compliant RAR file.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotationAwareAspectJAutoProxyCreator.initBeanFactory(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
AutoProxyUtils.determineTargetClass(ConfigurableListableBeanFactory beanFactory,
String beanName)
Determine the original target class for the specified bean, if possible,
otherwise falling back to a regular
getType lookup. |
protected void |
AbstractAdvisorAutoProxyCreator.initBeanFactory(ConfigurableListableBeanFactory beanFactory) |
protected void |
InfrastructureAdvisorAutoProxyCreator.initBeanFactory(ConfigurableListableBeanFactory beanFactory) |
static boolean |
AutoProxyUtils.shouldProxyTargetClass(ConfigurableListableBeanFactory beanFactory,
String beanName)
Determine whether the given bean should be proxied with its target
class rather than its interfaces.
|
Constructor and Description |
---|
BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
CustomAutowireConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
protected boolean |
RequiredAnnotationBeanPostProcessor.shouldSkip(ConfigurableListableBeanFactory beanFactory,
String beanName)
Check whether the given bean definition is not subject to the annotation-based
required property check as performed by this post-processor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PropertyOverrideConfigurer.applyPropertyValue(ConfigurableListableBeanFactory factory,
String beanName,
String property,
String value)
Apply the given property value to the corresponding bean.
|
protected void |
PlaceholderConfigurerSupport.doProcessProperties(ConfigurableListableBeanFactory beanFactoryToProcess,
StringValueResolver valueResolver) |
void |
CustomScopeConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
void |
BeanFactoryPostProcessor.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Modify the application context's internal bean factory after its standard
initialization.
|
void |
DeprecatedBeanWarner.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
void |
PropertyResourceConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
|
void |
CustomEditorConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
protected void |
PropertyOverrideConfigurer.processKey(ConfigurableListableBeanFactory factory,
String key,
String value)
Process the given key as 'beanName.property' entry.
|
protected void |
PropertyPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory beanFactoryToProcess,
Properties props)
Visit each bean definition in the given bean factory and attempt to replace ${...} property
placeholders with values from the given properties.
|
protected void |
PropertyOverrideConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory,
Properties props) |
protected abstract void |
PropertyResourceConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory,
Properties props)
Apply the given Properties to the given BeanFactory.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultListableBeanFactory
Spring's default implementation of the
ConfigurableListableBeanFactory
and BeanDefinitionRegistry interfaces: a full-fledged bean factory
based on bean definition metadata, extensible through post-processors. |
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanFactory
Deprecated.
as of Spring 3.1 in favor of
DefaultListableBeanFactory and
XmlBeanDefinitionReader |
Modifier and Type | Method and Description |
---|---|
ConfigurableListableBeanFactory |
ConfigurableApplicationContext.getBeanFactory()
Return the internal bean factory of this application context.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableListableBeanFactory |
ConditionContext.getBeanFactory()
Return the
ConfigurableListableBeanFactory that will hold the bean
definition should the condition match, or null if the bean factory is
not available (or not downcastable to ConfigurableListableBeanFactory ). |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurableListableBeanFactory beanFactory)
Post-processes a BeanFactory in search of Configuration class BeanDefinitions;
any candidates are then enhanced by a
ConfigurationClassEnhancer . |
void |
ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Prepare the Configuration classes for servicing bean requests at runtime
by replacing them with CGLIB-enhanced subclasses.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableListableBeanFactory |
AbstractRefreshableApplicationContext.getBeanFactory() |
ConfigurableListableBeanFactory |
GenericApplicationContext.getBeanFactory()
Return the single internal BeanFactory held by this context
(as ConfigurableListableBeanFactory).
|
abstract ConfigurableListableBeanFactory |
AbstractApplicationContext.getBeanFactory()
Subclasses must return their internal bean factory here.
|
protected ConfigurableListableBeanFactory |
AbstractApplicationContext.obtainFreshBeanFactory()
Tell the subclass to refresh the internal bean factory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractApplicationContext.finishBeanFactoryInitialization(ConfigurableListableBeanFactory beanFactory)
Finish the initialization of this context's bean factory,
initializing all remaining singleton beans.
|
protected void |
AbstractApplicationContext.invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory beanFactory)
Instantiate and invoke all registered BeanFactoryPostProcessor beans,
respecting explicit order if given.
|
protected void |
AbstractApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Modify the application context's internal bean factory after its standard
initialization.
|
void |
PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Processing occurs by replacing ${...} placeholders in bean definitions by resolving each
against this configurer's set of
PropertySources , which includes:
all environment property sources, if an Environment is present
merged local properties, if any
have been
specified
any property sources set by calling PropertySourcesPlaceholderConfigurer.setPropertySources(org.springframework.core.env.PropertySources)
|
protected void |
AbstractApplicationContext.prepareBeanFactory(ConfigurableListableBeanFactory beanFactory)
Configure the factory's standard context characteristics,
such as the context's ClassLoader and post-processors.
|
protected void |
PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory beanFactoryToProcess,
ConfigurablePropertyResolver propertyResolver)
Visit each bean definition in the given bean factory and attempt to replace ${...} property
placeholders with values from the given properties.
|
protected void |
PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory,
Properties props)
|
protected void |
AbstractApplicationContext.registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory)
Instantiate and register all BeanPostProcessor beans,
respecting explicit order if given.
|
Modifier and Type | Method and Description |
---|---|
void |
AspectJWeavingEnabler.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceAdapterApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
StaticWebApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Register request/session scopes, a
ServletContextAwareProcessor , etc. |
protected void |
AbstractRefreshableWebApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Register request/session scopes, a
ServletContextAwareProcessor , etc. |
protected void |
GenericWebApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Register ServletContextAwareProcessor.
|
static void |
WebApplicationContextUtils.registerEnvironmentBeans(ConfigurableListableBeanFactory bf,
ServletContext sc)
Register web-specific environment beans ("contextParameters", "contextAttributes")
with the given BeanFactory, as used by the WebApplicationContext.
|
static void |
WebApplicationContextUtils.registerEnvironmentBeans(ConfigurableListableBeanFactory bf,
ServletContext servletContext,
ServletConfig servletConfig)
Register web-specific environment beans ("contextParameters", "contextAttributes")
with the given BeanFactory, as used by the WebApplicationContext.
|
static void |
WebApplicationContextUtils.registerWebApplicationScopes(ConfigurableListableBeanFactory beanFactory)
Register web-specific scopes ("request", "session", "globalSession")
with the given BeanFactory, as used by the WebApplicationContext.
|
static void |
WebApplicationContextUtils.registerWebApplicationScopes(ConfigurableListableBeanFactory beanFactory,
ServletContext sc)
Register web-specific scopes ("request", "session", "globalSession", "application")
with the given BeanFactory, as used by the WebApplicationContext.
|