# 程序包的使用
org.springframework.context

- 使用org.springframework.context的程序包
  程序包 | 说明
  --- | ---
  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.event | Support classes for application events, like standard context events.
  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.format.datetime | Formatters for `java.util.Date` properties.
  org.springframework.format.datetime.joda | Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
  org.springframework.format.datetime.standard | Integration with the JSR-310 `java.time` package in JDK 8.
  org.springframework.format.number | Formatters for `java.lang.Number` properties.
  org.springframework.format.number.money | Integration with the JSR-354 `javax.money` package.
  org.springframework.format.support | Support classes for the formatting package, providing common implementations as well as adapters.
  org.springframework.scheduling.annotation | Java 5 annotation for asynchronous method execution.
  org.springframework.scripting.support | Support classes for Spring's scripting package.
  org.springframework.ui.context | Contains classes defining the application context subinterface for UI applications.
  org.springframework.ui.context.support | Classes supporting the org.springframework.ui.context package.
  org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers.
  org.springframework.validation.beanvalidation | Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.

- org.springframework.context使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationEvent Class to be extended by all application events.
  ApplicationEventPublisher Interface that encapsulates event publication functionality.
  ApplicationListener Interface to be implemented by application event listeners.
  ConfigurableApplicationContext SPI interface to be implemented by most if not all application contexts.
  Lifecycle A common interface defining methods for start/stop lifecycle control.
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.
  MessageSourceResolvable Interface for objects that are suitable for message resolution in a `MessageSource`.
  NoSuchMessageException Exception thrown when a message can't be resolved.
  Phased Interface for objects that may participate in a phased process such as lifecycle management.

- org.springframework.context.annotation使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationEventPublisher Interface that encapsulates event publication functionality.
  ConfigurableApplicationContext SPI interface to be implemented by most if not all application contexts.
  EnvironmentAware Interface to be implemented by any bean that wishes to be notified of the `Environment` that it runs in.
  Lifecycle A common interface defining methods for start/stop lifecycle control.
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.
  ResourceLoaderAware Interface to be implemented by any object that wishes to be notified of the `ResourceLoader` (typically the ApplicationContext) that it runs in.

- org.springframework.context.event使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationContextAware Interface to be implemented by any object that wishes to be notified of the `ApplicationContext` that it runs in.
  ApplicationEvent Class to be extended by all application events.
  ApplicationEventPublisher Interface that encapsulates event publication functionality.
  ApplicationEventPublisherAware Interface to be implemented by any object that wishes to be notified of the ApplicationEventPublisher (typically the ApplicationContext) that it runs in.
  ApplicationListener Interface to be implemented by application event listeners.

- org.springframework.context.support使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationContextAware Interface to be implemented by any object that wishes to be notified of the `ApplicationContext` that it runs in.
  ApplicationEvent Class to be extended by all application events.
  ApplicationEventPublisher Interface that encapsulates event publication functionality.
  ApplicationListener Interface to be implemented by application event listeners.
  ConfigurableApplicationContext SPI interface to be implemented by most if not all application contexts.
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.
  EnvironmentAware Interface to be implemented by any bean that wishes to be notified of the `Environment` that it runs in.
  HierarchicalMessageSource Sub-interface of MessageSource to be implemented by objects that can resolve messages hierarchically.
  Lifecycle A common interface defining methods for start/stop lifecycle control.
  LifecycleProcessor Strategy interface for processing Lifecycle beans within the ApplicationContext.
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.
  MessageSourceResolvable Interface for objects that are suitable for message resolution in a `MessageSource`.
  NoSuchMessageException Exception thrown when a message can't be resolved.
  ResourceLoaderAware Interface to be implemented by any object that wishes to be notified of the `ResourceLoader` (typically the ApplicationContext) that it runs in.

- org.springframework.format.datetime使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.format.datetime.joda使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.format.datetime.standard使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.format.number使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.format.number.money使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.format.support使用的org.springframework.context中的类
  类和说明
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.scheduling.annotation使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationContextAware Interface to be implemented by any object that wishes to be notified of the `ApplicationContext` that it runs in.
  ApplicationListener Interface to be implemented by application event listeners.
  EmbeddedValueResolverAware Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.

- org.springframework.scripting.support使用的org.springframework.context中的类
  类和说明
  ResourceLoaderAware Interface to be implemented by any object that wishes to be notified of the `ResourceLoader` (typically the ApplicationContext) that it runs in.

- org.springframework.ui.context使用的org.springframework.context中的类
  类和说明
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.

- org.springframework.ui.context.support使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.

- org.springframework.validation使用的org.springframework.context中的类
  类和说明
  MessageSourceResolvable Interface for objects that are suitable for message resolution in a `MessageSource`.

- org.springframework.validation.beanvalidation使用的org.springframework.context中的类
  类和说明
  ApplicationContext Central interface to provide configuration for an application.
  ApplicationContextAware Interface to be implemented by any object that wishes to be notified of the `ApplicationContext` that it runs in.
  MessageSource Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.
  MessageSourceResolvable Interface for objects that are suitable for message resolution in a `MessageSource`.