| 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.7 compliant RAR file. | 
| org.springframework.test.context.support | Support classes for the Spring TestContext Framework. | 
| org.springframework.web.context.support | Classes supporting the  org.springframework.web.contextpackage,
 such as WebApplicationContext implementations and various utility classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AnnotationConfigApplicationContextStandalone application context, accepting component classes as input —
 in particular  @Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant
 classes usingjavax.injectannotations. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GenericGroovyApplicationContextAn  ApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans
 can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String). | 
| class  | GenericXmlApplicationContextConvenient application context with built-in XML support. | 
| class  | StaticApplicationContextApplicationContextimplementation
 which supports programmatic registration of beans and messages,
 rather than reading bean definitions from external configuration sources. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ResourceAdapterApplicationContextApplicationContextimplementation
 for a JCA ResourceAdapter. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected GenericApplicationContext | AbstractGenericContextLoader. createContext()Factory method for creating the  GenericApplicationContextused by
 thisContextLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract BeanDefinitionReader | AbstractGenericContextLoader. createBeanDefinitionReader(GenericApplicationContext context)Factory method for creating a new  BeanDefinitionReaderfor loading
 bean definitions into the suppliedcontext. | 
| protected BeanDefinitionReader | GenericPropertiesContextLoader. createBeanDefinitionReader(GenericApplicationContext context)Deprecated.  Creates a new  PropertiesBeanDefinitionReader. | 
| protected BeanDefinitionReader | GenericXmlContextLoader. createBeanDefinitionReader(GenericApplicationContext context)Create a new  XmlBeanDefinitionReader. | 
| protected BeanDefinitionReader | AnnotationConfigContextLoader. createBeanDefinitionReader(GenericApplicationContext context)AnnotationConfigContextLoadershould be used as aSmartContextLoader,
 not as a legacyContextLoader. | 
| protected void | AbstractGenericContextLoader. customizeContext(GenericApplicationContext context)Customize the  GenericApplicationContextcreated by thisContextLoaderafter bean definitions have been
 loaded into the context but before the context is refreshed. | 
| protected void | AbstractGenericContextLoader. loadBeanDefinitions(GenericApplicationContext context,
                   MergedContextConfiguration mergedConfig)Load bean definitions into the supplied  contextfrom the locations or classes in the suppliedMergedContextConfiguration. | 
| protected void | AnnotationConfigContextLoader. loadBeanDefinitions(GenericApplicationContext context,
                   MergedContextConfiguration mergedConfig)Register classes in the supplied  contextfrom the classes in the suppliedMergedContextConfiguration. | 
| protected void | GenericGroovyXmlContextLoader. loadBeanDefinitions(GenericApplicationContext context,
                   MergedContextConfiguration mergedConfig)Load bean definitions into the supplied  contextfrom the locations in the suppliedMergedContextConfigurationusing aGroovyBeanDefinitionReader. | 
| protected void | AbstractGenericContextLoader. prepareContext(GenericApplicationContext context)Prepare the  GenericApplicationContextcreated by thisContextLoader. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GenericWebApplicationContextSubclass of  GenericApplicationContext, suitable for web environments. | 
| class  | StaticWebApplicationContextStatic  WebApplicationContextimplementation for testing. |