Package | Description |
---|---|
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.jca.context |
Integration package that allows for deploying a Spring application context
as a JCA 1.5 compliant RAR file.
|
org.springframework.test |
This package contains the legacy JUnit 3.8 class hierarchy, which as of Spring 3.0
has been deprecated in favor of using the listener-based Spring TestContext Framework.
|
org.springframework.test.context.support |
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. |
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
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 | Class and Description |
---|---|
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 | Class and Description |
---|---|
class |
ResourceAdapterApplicationContext
ApplicationContext implementation
for a JCA ResourceAdapter. |
Modifier and Type | Method and Description |
---|---|
protected BeanDefinitionReader |
AbstractSingleSpringContextTests.createBeanDefinitionReader(GenericApplicationContext context)
Deprecated.
Factory method for creating new
BeanDefinitionReader s for
loading bean definitions into the supplied
context . |
protected void |
AbstractSingleSpringContextTests.prepareApplicationContext(GenericApplicationContext context)
Deprecated.
Prepare the GenericApplicationContext used by this test.
|
Modifier and Type | Method and Description |
---|---|
protected BeanDefinitionReader |
GenericXmlContextLoader.createBeanDefinitionReader(GenericApplicationContext context)
Create a new
XmlBeanDefinitionReader . |
protected BeanDefinitionReader |
GenericPropertiesContextLoader.createBeanDefinitionReader(GenericApplicationContext context)
Creates a new
PropertiesBeanDefinitionReader . |
protected BeanDefinitionReader |
AnnotationConfigContextLoader.createBeanDefinitionReader(GenericApplicationContext context)
AnnotationConfigContextLoader should be used as a
SmartContextLoader ,
not as a legacy ContextLoader . |
protected abstract BeanDefinitionReader |
AbstractGenericContextLoader.createBeanDefinitionReader(GenericApplicationContext context)
Factory method for creating a new
BeanDefinitionReader for loading
bean definitions into the supplied context . |
protected void |
AbstractGenericContextLoader.customizeContext(GenericApplicationContext context)
Customize the
GenericApplicationContext created by this
ContextLoader after bean definitions have been
loaded into the context but before the context is refreshed. |
protected void |
AnnotationConfigContextLoader.loadBeanDefinitions(GenericApplicationContext context,
MergedContextConfiguration mergedConfig)
Register classes in the supplied
context
from the classes in the supplied MergedContextConfiguration . |
protected void |
AbstractGenericContextLoader.loadBeanDefinitions(GenericApplicationContext context,
MergedContextConfiguration mergedConfig)
Load bean definitions into the supplied
context
from the locations or classes in the supplied MergedContextConfiguration . |
protected void |
AbstractGenericContextLoader.prepareContext(GenericApplicationContext context)
Prepare the
GenericApplicationContext created by this ContextLoader . |
Modifier and Type | Class and Description |
---|---|
class |
GenericWebApplicationContext
Subclass of
GenericApplicationContext , suitable for web environments. |
class |
StaticWebApplicationContext
Static
WebApplicationContext
implementation for testing. |
Modifier and Type | Class and Description |
---|---|
class |
StaticPortletApplicationContext
Static Portlet-based
ApplicationContext
implementation for testing. |
Copyright © 2015. All rights reserved.