Interface Aware
- All Known Subinterfaces:
BeanClassLoaderAware, BeanFactoryAware, BeanNameAware
- All Known Implementing Classes:
AbstractFactoryBean, AbstractServiceLoaderBasedFactoryBean, AutowiredAnnotationBeanPostProcessor, BeanConfigurerSupport, CustomAutowireConfigurer, CustomScopeConfigurer, FieldRetrievingFactoryBean, GenericTypeAwareAutowireCandidateResolver, ListFactoryBean, MapFactoryBean, MethodInvokingBean, MethodInvokingFactoryBean, ObjectFactoryCreatingFactoryBean, PlaceholderConfigurerSupport, PreferencesPlaceholderConfigurer, PropertyPathFactoryBean, PropertyPlaceholderConfigurer, ProviderCreatingFactoryBean, QualifierAnnotationAutowireCandidateResolver, ServiceFactoryBean, ServiceListFactoryBean, ServiceLoaderFactoryBean, ServiceLocatorFactoryBean, SetFactoryBean
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
for an example of processing specific invalid reference
org.springframework.context.support.ApplicationContextAwareProcessor*Aware interface callbacks.
- Since:
- 3.1
- Author:
- Chris Beams, Juergen Hoeller