| Package | Description | 
|---|---|
| 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. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ConfigurableApplicationContextSPI interface to be implemented by most if not all application contexts. | 
| interface  | LifecycleProcessorStrategy interface for processing Lifecycle beans within the ApplicationContext. | 
| interface  | SmartLifecycleAn extension of the  Lifecycleinterface for those objects that require
 to be started uponApplicationContextrefresh and/or shutdown in a
 particular order. | 
| 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  | AbstractApplicationContextAbstract implementation of the  ApplicationContextinterface. | 
| class  | AbstractRefreshableApplicationContextBase class for  ApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(),
 creating a new internal bean factory instance every time. | 
| class  | AbstractRefreshableConfigApplicationContextAbstractRefreshableApplicationContextsubclass that adds common handling
 of specified config locations. | 
| class  | AbstractXmlApplicationContextConvenient base class for  ApplicationContextimplementations, drawing configuration from XML documents containing bean definitions
 understood by anXmlBeanDefinitionReader. | 
| class  | ClassPathXmlApplicationContextStandalone 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  | DefaultLifecycleProcessorDefault implementation of the  LifecycleProcessorstrategy. | 
| class  | FileSystemXmlApplicationContextStandalone 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  | GenericApplicationContextGeneric ApplicationContext implementation that holds a single internal
  DefaultListableBeanFactoryinstance and does not assume a specific bean definition format. | 
| 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 | Method and Description | 
|---|---|
| protected Map<String,Lifecycle> | DefaultLifecycleProcessor. getLifecycleBeans()Retrieve all applicable Lifecycle beans: all singletons that have already been created,
 as well as all SmartLifecycle beans (even if they are marked as lazy-init). | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | DefaultLifecycleProcessor. getPhase(Lifecycle bean)Determine the lifecycle phase of the given bean. |