Interface Aware

All Known Subinterfaces:
ApplicationContextAware, ApplicationEventPublisherAware, ApplicationStartupAware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, EmbeddedValueResolverAware, EnvironmentAware, ImportAware, LoadTimeWeaverAware, MessageSourceAware, NotificationPublisherAware, ResourceLoaderAware, SchedulerContextAware, ServletConfigAware, ServletContextAware
All Known Implementing Classes:
AbstractAdvisingBeanPostProcessor, AbstractAdvisorAutoProxyCreator, AbstractApplicationEventMulticaster, AbstractAsyncConfiguration, AbstractAtomFeedView, AbstractAutoProxyCreator, AbstractBeanFactoryAwareAdvisingPostProcessor, AbstractBeanFactoryBasedTargetSource, AbstractBeanFactoryBasedTargetSourceCreator, AbstractBeanFactoryPointcutAdvisor, AbstractBrokerMessageHandler, AbstractCachingConfiguration, AbstractCachingViewResolver, AbstractController, AbstractDetectingUrlHandlerMapping, AbstractEntityManagerFactoryBean, AbstractFactoryBean, AbstractFallbackTransactionAttributeSource, AbstractFeedView, AbstractHandlerMapping, AbstractHandlerMapping, AbstractHandlerMethodAdapter, AbstractHandlerMethodMapping, AbstractHandlerMethodMapping, AbstractJackson2View, AbstractJCacheConfiguration, AbstractJmsListeningContainer, AbstractJUnit4SpringContextTests, AbstractMessageBrokerConfiguration, AbstractMessageChannel, AbstractMessageEndpointFactory, AbstractMessageListenerContainer, AbstractMethodMessageHandler, AbstractMethodMessageHandler, AbstractPdfStamperView, AbstractPdfView, AbstractPollingMessageListenerContainer, AbstractPoolingTargetSource, AbstractPrototypeBasedTargetSource, AbstractRefreshableConfigApplicationContext, AbstractRefreshableWebApplicationContext, AbstractRequestLoggingFilter, AbstractRssFeedView, AbstractServiceLoaderBasedFactoryBean, AbstractSingletonProxyFactoryBean, AbstractSubscribableChannel, AbstractTemplateView, AbstractTemplateViewResolver, AbstractTestNGSpringContextTests, AbstractTransactionalJUnit4SpringContextTests, AbstractTransactionalTestNGSpringContextTests, AbstractTransactionManagementConfiguration, AbstractUrlBasedView, AbstractUrlBasedView, AbstractUrlHandlerMapping, AbstractUrlHandlerMapping, AbstractUrlViewController, AbstractView, AbstractView, AbstractXlsView, AbstractXlsxStreamingView, AbstractXlsxView, AbstractXmlApplicationContext, AnnotatedEndpointConnectionManager, AnnotationAsyncExecutionInterceptor, AnnotationAwareAspectJAutoProxyCreator, AnnotationConfigWebApplicationContext, AnnotationJmxAttributeSource, AnnotationMBeanExporter, AnnotationTransactionAttributeSource, ApplicationObjectSupport, AspectJAsyncConfiguration, AspectJAwareAdvisorAutoProxyCreator, AspectJCachingConfiguration, AspectJExpressionPointcut, AspectJExpressionPointcutAdvisor, AspectJJCacheConfiguration, AspectJJtaTransactionManagementConfiguration, AspectJTransactionManagementConfiguration, AspectJWeavingEnabler, AsyncAnnotationAdvisor, AsyncAnnotationBeanPostProcessor, AsyncExecutionAspectSupport, AsyncExecutionInterceptor, AutowiredAnnotationBeanPostProcessor, BeanConfigurerSupport, BeanCreatingHandlerProvider, BeanFactoryCacheOperationSourceAdvisor, BeanFactoryConnectionFactoryLookup, BeanFactoryDataSourceLookup, BeanFactoryDestinationResolver, BeanFactoryJCacheOperationSourceAdvisor, BeanFactoryMessageChannelDestinationResolver, BeanFactoryTransactionAttributeSourceAdvisor, BeanNameAutoProxyCreator, BeanNameUrlHandlerMapping, BeanNameViewResolver, BshScriptEvaluator, BshScriptFactory, CacheAspectSupport, CacheInterceptor, CacheProxyFactoryBean, CharacterEncodingFilter, ClassPathBeanDefinitionScanner, ClassPathScanningCandidateComponentProvider, ClassPathXmlApplicationContext, CommonAnnotationBeanPostProcessor, CommonsPool2TargetSource, CommonsRequestLoggingFilter, ConcurrentMapCacheFactoryBean, ConcurrentMapCacheManager, ConfigurationClassPostProcessor, ContentNegotiatingViewResolver, ContentNegotiationManagerFactoryBean, ContextAnnotationAutowireCandidateResolver, CorsFilter, CronTriggerFactoryBean, CustomAutowireConfigurer, CustomScopeConfigurer, DateTimeFormatAnnotationFormatterFactory, DefaultAdvisorAutoProxyCreator, DefaultBeanFactoryPointcutAdvisor, DefaultContextLoadTimeWeaver, DefaultFormattingConversionService, DefaultHandshakeHandler, DefaultJCacheOperationSource, DefaultLifecycleProcessor, DefaultMessageHandlerMethodFactory, DefaultMessageListenerContainer, DefaultPersistenceUnitManager, DefaultServletHttpRequestHandler, DefaultSockJsService, DelegatingFilterProxy, DelegatingWebFluxConfiguration, DelegatingWebMvcConfiguration, DelegatingWebSocketMessageBrokerConfiguration, DispatcherHandler, DispatcherServlet, EmbeddedValueResolutionSupport, EndpointConnectionManager, EntityManagerFactoryAccessor, EventListenerMethodProcessor, EventPublicationInterceptor, ExceptionHandlerExceptionResolver, ExecutorConfigurationSupport, ExecutorSubscribableChannel, FieldRetrievingFactoryBean, FileSystemXmlApplicationContext, FormattingConversionService, FormattingConversionServiceFactoryBean, FormContentFilter, ForwardedHeaderFilter, FrameworkServlet, FreeMarkerConfigurationFactoryBean, FreeMarkerConfigurer, FreeMarkerConfigurer, FreeMarkerView, FreeMarkerView, FreeMarkerViewResolver, FreeMarkerViewResolver, GenericFilterBean, GenericMessageEndpointFactory, GenericMessagingTemplate, GenericTypeAwareAutowireCandidateResolver, GroovyMarkupConfigurer, GroovyMarkupView, GroovyMarkupViewResolver, GroovyScriptEvaluator, GroovyScriptFactory, GroovyWebApplicationContext, HandlerMappingIntrospector, HibernateTransactionManager, HiddenHttpMethodFilter, HttpServiceProxyFactory, HttpServletBean, InfrastructureAdvisorAutoProxyCreator, InterfaceBasedMBeanInfoAssembler, InternalResourceView, InternalResourceViewResolver, Jackson2ObjectMapperFactoryBean, Jaxb2Marshaller, JCacheManagerFactoryBean, JmsListenerAnnotationBeanPostProcessor, JmsListenerEndpointRegistrar, JmsListenerEndpointRegistry, JmsMessageEndpointFactory, JmsMessageEndpointManager, JndiObjectFactoryBean, JobDetailFactoryBean, JpaTransactionManager, Jsr310DateTimeFormatAnnotationFormatterFactory, Jsr354NumberFormatAnnotationFormatterFactory, JstlView, LazyInitTargetSource, LazyInitTargetSourceCreator, ListFactoryBean, LoadTimeWeaverAwareProcessor, LoadTimeWeavingConfiguration, LocalContainerEntityManagerFactoryBean, LocalEntityManagerFactoryBean, LocalSessionFactoryBean, LocalValidatorFactoryBean, MapFactoryBean, MappingJackson2JsonView, MappingJackson2MessageConverter, MappingJackson2XmlView, MarshallingView, MBeanClientInterceptor, MBeanExportConfiguration, MBeanExporter, MBeanProxyFactoryBean, MBeanServerConnectionFactoryBean, MessageMappingMessageHandler, MethodInvokingBean, MethodInvokingFactoryBean, MethodInvokingJobDetailFactoryBean, MethodInvokingRunnable, MethodJmsListenerEndpoint, MethodLocatingFactoryBean, MethodMapTransactionAttributeSource, MethodValidationPostProcessor, MultipartFilter, NameMatchTransactionAttributeSource, NumberFormatAnnotationFormatterFactory, ObjectFactoryCreatingFactoryBean, OncePerRequestFilter, OpenEntityManagerInViewFilter, OpenEntityManagerInViewInterceptor, OpenSessionInViewFilter, OptionalValidatorFactoryBean, ParameterizableViewController, PerConnectionWebSocketHandler, PersistenceAnnotationBeanPostProcessor, PersistenceExceptionTranslationInterceptor, PersistenceExceptionTranslationPostProcessor, PlaceholderConfigurerSupport, PreferencesPlaceholderConfigurer, PropertyPathFactoryBean, PropertyPlaceholderConfigurer, PropertySourcesPlaceholderConfigurer, PrototypeTargetSource, ProviderCreatingFactoryBean, ProxyAsyncConfiguration, ProxyCachingConfiguration, ProxyFactoryBean, ProxyJCacheConfiguration, ProxyProcessorSupport, ProxyTransactionManagementConfiguration, QualifierAnnotationAutowireCandidateResolver, QuickTargetSourceCreator, RedirectView, RedirectView, RelativeRedirectFilter, ReloadableResourceBundleMessageSource, RequestContextFilter, RequestMappingHandlerAdapter, RequestMappingHandlerAdapter, RequestMappingHandlerMapping, RequestMappingHandlerMapping, RequestMappingInfoHandlerMapping, RequestMappingInfoHandlerMapping, ResourceBundleMessageSource, ResourceBundleThemeSource, ResourceBundleViewResolver, ResourceHttpRequestHandler, ResourceUrlEncodingFilter, ResourceUrlProvider, ResourceUrlProvider, ResponseStatusExceptionResolver, RouterFunctionMapping, RouterFunctionMapping, RSocketMessageHandler, ScheduledAnnotationBeanPostProcessor, ScheduledExecutorFactoryBean, SchedulerAccessor, SchedulerAccessorBean, SchedulerFactoryBean, ScopedProxyFactoryBean, ScriptFactoryPostProcessor, ScriptTemplateView, ScriptTemplateView, ScriptTemplateViewResolver, ScriptTemplateViewResolver, ServerEndpointExporter, ServerEndpointRegistration, ServiceFactoryBean, ServiceListFactoryBean, ServiceLoaderFactoryBean, ServiceLocatorFactoryBean, ServletContextAttributeExporter, ServletContextAttributeFactoryBean, ServletContextParameterFactoryBean, ServletContextRequestLoggingFilter, ServletForwardingController, ServletServerContainerFactoryBean, ServletWrappingController, SetFactoryBean, ShallowEtagHeaderFilter, SharedEntityManagerBean, SimpAnnotationMethodMessageHandler, SimpleApplicationEventMulticaster, SimpleBeanFactoryAwareAspectInstanceFactory, SimpleBeanTargetSource, SimpleBrokerMessageHandler, SimpleMessageListenerContainer, SimpleServletPostProcessor, SimpleTriggerFactoryBean, SimpleUrlHandlerMapping, SimpleUrlHandlerMapping, SockJsHttpRequestHandler, SortedResourcesFactoryBean, SpringBeanJobFactory, StandardScriptEvaluator, StandardScriptFactory, StompBrokerRelayMessageHandler, StompSubProtocolHandler, TaskExecutorFactoryBean, ThreadLocalTargetSource, ThreadPoolExecutorFactoryBean, ThreadPoolTaskExecutor, ThreadPoolTaskScheduler, TransactionAspectSupport, TransactionInterceptor, TransactionProxyFactoryBean, UrlBasedViewResolver, UrlBasedViewResolver, UrlFilenameViewController, ViewResolverComposite, WebApplicationObjectSupport, WebAsyncTask, WebContentGenerator, WebContentInterceptor, WebFluxConfigurationSupport, WebMvcConfigurationSupport, WebSocketAnnotationMethodMessageHandler, WebSocketHandlerMapping, WebSocketHttpRequestHandler, WebSocketMessageBrokerConfigurationSupport, WebSocketTransportHandler, XmlViewResolver, XmlWebApplicationContext, XsltView, XsltViewResolver, XStreamMarshaller

public interface Aware
A marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method. The actual method signature is determined by individual subinterfaces but should typically consist of just one void-returning method that accepts a single argument.

Note that merely implementing Aware provides no default functionality. Rather, processing must be done explicitly, for example in a BeanPostProcessor. Refer to ApplicationContextAwareProcessor for an example of processing specific *Aware interface callbacks.

Since:
3.1
Author:
Chris Beams, Juergen Hoeller