# Uses of Interface
org.springframework.context.ApplicationContextAware

Packages that use ApplicationContextAware
Package
Description
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.scheduling.annotation
Annotation support for asynchronous method execution.
org.springframework.scheduling.concurrent
Scheduling convenience classes for the `java.util.concurrent` and `jakarta.enterprise.concurrent` packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.
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.

## Uses of ApplicationContextAware in org.springframework.context.event

Classes in org.springframework.context.event that implement ApplicationContextAware
Modifier and Type
Class
Description
`class`
`EventListenerMethodProcessor`
Registers `EventListener` methods as individual `ApplicationListener` instances.

## Uses of ApplicationContextAware in org.springframework.context.support

Classes in org.springframework.context.support that implement ApplicationContextAware
Modifier and Type
Class
Description
`class`
`ApplicationObjectSupport`
Convenient superclass for application objects that want to be aware of the application context, for example, for custom lookup of collaborating beans or for context-specific resource access.

## Uses of ApplicationContextAware in org.springframework.scheduling.annotation

Classes in org.springframework.scheduling.annotation that implement ApplicationContextAware
Modifier and Type
Class
Description
`class`
`ScheduledAnnotationBeanPostProcessor`
Bean post-processor that registers methods annotated with `@Scheduled` to be invoked by a `TaskScheduler` according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.

## Uses of ApplicationContextAware in org.springframework.scheduling.concurrent

Classes in org.springframework.scheduling.concurrent that implement ApplicationContextAware
Modifier and Type
Class
Description
`class`
`ExecutorConfigurationSupport`
Base class for setting up a `ExecutorService` (typically a `ThreadPoolExecutor` or `ScheduledThreadPoolExecutor`).
`class`
`ScheduledExecutorFactoryBean`
`FactoryBean` that sets up a `ScheduledExecutorService` (by default: a `ScheduledThreadPoolExecutor`) and exposes it for bean references.
`class`
`SimpleAsyncTaskScheduler`
A simple implementation of Spring's `TaskScheduler` interface, using a single scheduler thread and executing every scheduled task in an individual separate thread.
`class`
`ThreadPoolExecutorFactoryBean`
JavaBean that allows for configuring a `ThreadPoolExecutor` in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its native `ExecutorService` type.
`class`
`ThreadPoolTaskExecutor`
JavaBean that allows for configuring a `ThreadPoolExecutor` in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a Spring `TaskExecutor`.
`class`
`ThreadPoolTaskScheduler`
A standard implementation of Spring's `TaskScheduler` interface, wrapping a native `ScheduledThreadPoolExecutor` and providing all applicable configuration options for it.

## Uses of ApplicationContextAware in org.springframework.validation.beanvalidation

Classes in org.springframework.validation.beanvalidation that implement ApplicationContextAware
Modifier and Type
Class
Description
`class`
`LocalValidatorFactoryBean`
This is the central class for `jakarta.validation` (JSR-303) setup in a Spring application context: It bootstraps a `jakarta.validation.ValidationFactory` and exposes it through the Spring `Validator` interface as well as through the JSR-303 `Validator` interface and the `ValidatorFactory` interface itself.
`class`
`OptionalValidatorFactoryBean`
`LocalValidatorFactoryBean` subclass that simply turns `Validator` calls into no-ops in case of no Bean Validation provider being available.