Package | Description |
---|---|
org.springframework.aop.framework.autoproxy.target | |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
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.test.context.support |
Support classes for the Spring TestContext Framework.
|
org.springframework.test.context.web |
Web support classes for the Spring TestContext Framework.
|
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 DefaultListableBeanFactory |
AbstractBeanFactoryBasedTargetSourceCreator.buildInternalBeanFactory(ConfigurableBeanFactory containingFactory)
Build an internal BeanFactory for resolving target beans.
|
protected DefaultListableBeanFactory |
AbstractBeanFactoryBasedTargetSourceCreator.getInternalBeanFactoryForBean(String beanName)
Return the internal BeanFactory to be used for the specified bean.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanFactory
Deprecated.
as of Spring 3.1 in favor of
DefaultListableBeanFactory and
XmlBeanDefinitionReader |
Constructor and Description |
---|
AnnotationConfigApplicationContext(DefaultListableBeanFactory beanFactory)
Create a new AnnotationConfigApplicationContext with the given DefaultListableBeanFactory.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultListableBeanFactory |
AbstractRefreshableApplicationContext.createBeanFactory()
Create an internal bean factory for this context.
|
DefaultListableBeanFactory |
GenericApplicationContext.getDefaultListableBeanFactory()
Return the underlying bean factory of this context,
available for registering bean definitions.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractRefreshableApplicationContext.customizeBeanFactory(DefaultListableBeanFactory beanFactory)
Customize the internal bean factory used by this context.
|
protected abstract void |
AbstractRefreshableApplicationContext.loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
Load bean definitions into the given bean factory, typically through
delegating to one or more bean definition readers.
|
protected void |
AbstractXmlApplicationContext.loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
Loads the bean definitions via an XmlBeanDefinitionReader.
|
Constructor and Description |
---|
GenericApplicationContext(DefaultListableBeanFactory beanFactory)
Create a new GenericApplicationContext with the given DefaultListableBeanFactory.
|
GenericApplicationContext(DefaultListableBeanFactory beanFactory,
ApplicationContext parent)
Create a new GenericApplicationContext with the given DefaultListableBeanFactory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGenericContextLoader.customizeBeanFactory(DefaultListableBeanFactory beanFactory)
Customize the internal bean factory of the ApplicationContext created by
this
ContextLoader . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGenericWebContextLoader.customizeBeanFactory(DefaultListableBeanFactory beanFactory,
WebMergedContextConfiguration webMergedConfig)
Customize the internal bean factory of the
WebApplicationContext
created by this context loader. |
Modifier and Type | Method and Description |
---|---|
protected AnnotatedBeanDefinitionReader |
AnnotationConfigWebApplicationContext.getAnnotatedBeanDefinitionReader(DefaultListableBeanFactory beanFactory)
Build an
AnnotatedBeanDefinitionReader for the given bean factory. |
protected ClassPathBeanDefinitionScanner |
AnnotationConfigWebApplicationContext.getClassPathBeanDefinitionScanner(DefaultListableBeanFactory beanFactory)
Build a
ClassPathBeanDefinitionScanner for the given bean factory. |
protected void |
AnnotationConfigWebApplicationContext.loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
Register a
BeanDefinition for
any classes specified by AnnotationConfigWebApplicationContext.register(Class...) and scan any packages
specified by AnnotationConfigWebApplicationContext.scan(String...) . |
protected void |
GroovyWebApplicationContext.loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
Loads the bean definitions via an GroovyBeanDefinitionReader.
|
protected void |
XmlWebApplicationContext.loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
Loads the bean definitions via an XmlBeanDefinitionReader.
|
Constructor and Description |
---|
GenericWebApplicationContext(DefaultListableBeanFactory beanFactory)
Create a new GenericWebApplicationContext with the given DefaultListableBeanFactory.
|
GenericWebApplicationContext(DefaultListableBeanFactory beanFactory,
ServletContext servletContext)
Create a new GenericWebApplicationContext with the given DefaultListableBeanFactory.
|