org.springframework.beans.factory
Interface Aware

All Known Subinterfaces:
ApplicationContextAware, ApplicationEventPublisherAware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, BootstrapContextAware, EmbeddedValueResolverAware, EnvironmentAware, ImportAware, LoadTimeWeaverAware, MessageSourceAware, NotificationPublisherAware, PortletConfigAware, PortletContextAware, ResourceLoaderAware, SchedulerContextAware, ServletConfigAware, ServletContextAware
All Known Implementing Classes:
AbstractAdvisorAutoProxyCreator, AbstractApplicationEventMulticaster, AbstractAsyncConfiguration, AbstractAtomFeedView, AbstractAutoProxyCreator, AbstractBeanFactoryBasedTargetSource, AbstractBeanFactoryBasedTargetSourceCreator, AbstractBeanFactoryPointcutAdvisor, AbstractCachingConfiguration, AbstractCachingViewResolver, AbstractCommandController, AbstractCommandController, AbstractController, AbstractController, AbstractControllerUrlHandlerMapping, AbstractDetectingUrlHandlerMapping, AbstractEntityManagerFactoryBean, AbstractExcelView, AbstractFactoryBean, AbstractFeedView, AbstractFormController, AbstractFormController, AbstractHandlerMapping, AbstractHandlerMapping, AbstractHandlerMethodAdapter, AbstractHandlerMethodMapping, AbstractHttpInvokerRequestExecutor, AbstractJasperReportsSingleFormatView, AbstractJasperReportsView, AbstractJaxWsServiceExporter, AbstractJExcelView, AbstractJmsListeningContainer, AbstractJUnit38SpringContextTests, AbstractJUnit4SpringContextTests, AbstractMapBasedHandlerMapping, AbstractMessageListenerContainer, AbstractPdfStamperView, AbstractPdfView, AbstractPollingMessageListenerContainer, AbstractPoolingTargetSource, AbstractPrototypeBasedTargetSource, AbstractRefreshableConfigApplicationContext, AbstractRefreshablePortletApplicationContext, AbstractRefreshableWebApplicationContext, AbstractRequestLoggingFilter, AbstractRssFeedView, AbstractServiceLoaderBasedFactoryBean, AbstractSingletonProxyFactoryBean, AbstractTemplateView, AbstractTemplateViewResolver, AbstractTestNGSpringContextTests, AbstractTransactionalJUnit38SpringContextTests, AbstractTransactionalJUnit4SpringContextTests, AbstractTransactionalTestNGSpringContextTests, AbstractTransactionManagementConfiguration, AbstractUrlBasedView, AbstractUrlHandlerMapping, AbstractUrlViewController, AbstractView, AbstractWizardFormController, AbstractWizardFormController, AbstractXmlApplicationContext, AbstractXsltView, AnnotationAwareAspectJAutoProxyCreator, AnnotationConfigWebApplicationContext, AnnotationMBeanExporter, AnnotationMethodHandlerAdapter, AnnotationMethodHandlerAdapter, AnnotationSessionFactoryBean, ApplicationObjectSupport, AspectJAsyncConfiguration, AspectJAwareAdvisorAutoProxyCreator, AspectJCachingConfiguration, AspectJExpressionPointcut, AspectJTransactionManagementConfiguration, AspectJWeavingEnabler, AsyncAnnotationBeanPostProcessor, AutowiredAnnotationBeanPostProcessor, BaseCommandController, BaseCommandController, BeanConfigurerSupport, BeanFactoryCacheOperationSourceAdvisor, BeanFactoryDataSourceLookup, BeanFactoryDestinationResolver, BeanFactoryTransactionAttributeSourceAdvisor, BeanNameAutoProxyCreator, BeanNameUrlHandlerMapping, BeanNameViewResolver, BeanReferenceFactoryBean, BshScriptFactory, BurlapClientInterceptor, BurlapExporter, BurlapProxyFactoryBean, BurlapServiceExporter, CacheProxyFactoryBean, CancellableFormController, CastorMarshaller, CharacterEncodingFilter, ClassPathBeanDefinitionScanner, ClassPathScanningCandidateComponentProvider, ClassPathXmlApplicationContext, CommonAnnotationBeanPostProcessor, CommonsHttpInvokerRequestExecutor, CommonsMultipartResolver, CommonsPoolTargetSource, CommonsPortletMultipartResolver, CommonsRequestLoggingFilter, ConcurrentMapCacheFactoryBean, ConfigurableJasperReportsView, ConfigurationClassPostProcessor, ConfigurationClassPostProcessor.ImportAwareBeanPostProcessor, ContentNegotiatingViewResolver, ControllerBeanNameHandlerMapping, ControllerClassNameHandlerMapping, CronTriggerBean, CustomAutowireConfigurer, CustomEditorConfigurer, CustomScopeConfigurer, DefaultAdvisorAutoProxyCreator, DefaultAnnotationHandlerMapping, DefaultAnnotationHandlerMapping, DefaultBeanFactoryPointcutAdvisor, DefaultContextLoadTimeWeaver, DefaultFormattingConversionService, DefaultLifecycleProcessor, DefaultMessageListenerContainer, DefaultMessageListenerContainer102, DefaultPersistenceUnitManager, DefaultServletHttpRequestHandler, DelegatingFilterProxy, DelegatingWebMvcConfiguration, DispatcherPortlet, DispatcherServlet, EhCacheFactoryBean, EntityManagerFactoryAccessor, EventPublicationInterceptor, ExecutorConfigurationSupport, FieldRetrievingFactoryBean, FileSystemXmlApplicationContext, FilterDefinitionFactoryBean, FormattingConversionService, FormattingConversionServiceFactoryBean, FrameworkPortlet, FrameworkServlet, FreeMarkerConfigurationFactoryBean, FreeMarkerConfigurer, FreeMarkerView, FreeMarkerViewResolver, GenericFilterBean, GenericPortletBean, GlassFishWorkManagerTaskExecutor, GroovyScriptFactory, HessianClientInterceptor, HessianExporter, HessianProxyFactoryBean, HessianServiceExporter, HibernateAccessor, HibernateInterceptor, HibernateJpaSessionFactoryBean, HibernateTemplate, HibernateTransactionManager, HiddenHttpMethodFilter, HttpComponentsHttpInvokerRequestExecutor, HttpInvokerClientInterceptor, HttpInvokerProxyFactoryBean, HttpInvokerServiceExporter, HttpPutFormContentFilter, HttpServletBean, InfrastructureAdvisorAutoProxyCreator, InterfaceBasedMBeanInfoAssembler, InternalResourceView, InternalResourceViewResolver, JasperReportsCsvView, JasperReportsHtmlView, JasperReportsMultiFormatView, JasperReportsPdfView, JasperReportsViewResolver, JasperReportsXlsView, Jaxb2Marshaller, JaxRpcPortProxyFactoryBean, JaxWsPortClientInterceptor, JaxWsPortProxyFactoryBean, JBossWorkManagerTaskExecutor, JmsInvokerProxyFactoryBean, JmsInvokerServiceExporter, JndiObjectFactoryBean, JndiRmiProxyFactoryBean, JndiRmiServiceExporter, JobDetailBean, JodaDateTimeFormatAnnotationFormatterFactory, JpaAccessor, JpaInterceptor, JpaTemplate, JpaTransactionManager, JRubyScriptFactory, JstlView, LazyInitTargetSource, LazyInitTargetSourceCreator, ListFactoryBean, LoadTimeWeaverAwareProcessor, LoadTimeWeavingConfiguration, LocalContainerEntityManagerFactoryBean, LocalEntityManagerFactoryBean, LocalPersistenceManagerFactoryBean, LocalSessionFactoryBean, LocalSessionFactoryBean, LocalStatelessSessionProxyFactoryBean, LocalValidatorFactoryBean, Log4jNestedDiagnosticContextFilter, MapFactoryBean, MappingJacksonJsonView, MarshallingView, MBeanClientInterceptor, MBeanExporter, MBeanExporter.NotificationPublisherAwareLazyTargetSource, MBeanProxyFactoryBean, MBeanServerConnectionFactoryBean, MethodInvokingFactoryBean, MethodInvokingJobDetailFactoryBean, MethodInvokingRunnable, MethodInvokingTimerTaskFactoryBean, MethodLocatingFactoryBean, MethodMapTransactionAttributeSource, MultiActionController, MultipartFilter, NumberFormatAnnotationFormatterFactory, ObjectFactoryCreatingFactoryBean, OncePerRequestFilter, OpenEntityManagerInViewFilter, OpenEntityManagerInViewInterceptor, OpenPersistenceManagerInViewFilter, OpenSessionInViewFilter, OpenSessionInViewFilter, OpenSessionInViewInterceptor, ParameterHandlerMapping, ParameterizableViewController, ParameterizableViewController, PersistenceAnnotationBeanPostProcessor, PersistenceExceptionTranslationInterceptor, PersistenceExceptionTranslationPostProcessor, PlaceholderConfigurerSupport, PortletApplicationObjectSupport, PortletContentGenerator, PortletModeHandlerMapping, PortletModeParameterHandlerMapping, PortletWrappingController, PreferencesPlaceholderConfigurer, PropertyPathFactoryBean, PropertyPlaceholderConfigurer, PropertySourcesPlaceholderConfigurer, PrototypeTargetSource, ProviderCreatingFactoryBean, ProxyAsyncConfiguration, ProxyCachingConfiguration, ProxyFactoryBean, ProxyTransactionManagementConfiguration, QualifierAnnotationAutowireCandidateResolver, QuickTargetSourceCreator, RedirectView, ReloadableResourceBundleMessageSource, RemoteAccessor, RemoteExporter, RemoteInvocationBasedAccessor, RemoteInvocationBasedExporter, RemoteInvocationSerializingExporter, RemotingSupport, RequestContextFilter, RequestMappingHandlerAdapter, RequestMappingHandlerMapping, RequestMappingInfoHandlerMapping, RequiredAnnotationBeanPostProcessor, ResourceBundleMessageSource, ResourceBundleViewResolver, ResourceHttpRequestHandler, ResourceServlet, RmiBasedExporter, RmiClientInterceptor, RmiProxyFactoryBean, RmiServiceExporter, ScheduledAnnotationBeanPostProcessor, ScheduledExecutorFactoryBean, SchedulerAccessor, SchedulerAccessorBean, SchedulerFactoryBean, ScopedProxyFactoryBean, ScriptFactoryPostProcessor, ServiceFactoryBean, ServiceListFactoryBean, ServiceLoaderFactoryBean, ServiceLocatorFactoryBean, ServletContextAttributeExporter, ServletContextAttributeFactoryBean, ServletContextFactoryBean, ServletContextParameterFactoryBean, ServletContextPropertyPlaceholderConfigurer, ServletContextRequestLoggingFilter, ServletForwardingController, ServletWrappingController, SetFactoryBean, ShallowEtagHeaderFilter, SharedEntityManagerBean, SimpleApplicationEventMulticaster, SimpleBeanFactoryAwareAspectInstanceFactory, SimpleBeanTargetSource, SimpleBurlapServiceExporter, SimpleControllerHandlerAdapter, SimpleFormController, SimpleFormController, SimpleHessianServiceExporter, SimpleHttpInvokerRequestExecutor, SimpleHttpInvokerServiceExporter, SimpleHttpServerJaxWsServiceExporter, SimpleJaxWsServiceExporter, SimpleMessageListenerContainer, SimpleMessageListenerContainer102, SimplePortletHandlerAdapter, SimplePortletPostProcessor, SimpleRemoteStatelessSessionProxyFactoryBean, SimpleServletPostProcessor, SimpleTriggerBean, SimpleUrlHandlerMapping, SortedResourcesFactoryBean, SpringBeanJobFactory, TaskExecutorFactoryBean, ThreadLocalTargetSource, ThreadPoolExecutorFactoryBean, ThreadPoolTaskExecutor, ThreadPoolTaskExecutor, ThreadPoolTaskScheduler, TilesConfigurer, TilesConfigurer, TilesJstlView, TilesView, TilesView, TilesViewResolver, TimerFactoryBean, TimerTaskExecutor, TransactionAspectSupport, TransactionInterceptor, TransactionProxyFactoryBean, TypeDefinitionBean, UrlBasedRemoteAccessor, UrlBasedViewResolver, UrlFilenameViewController, VelocityConfigurer, VelocityEngineFactoryBean, VelocityLayoutView, VelocityLayoutViewResolver, VelocityToolboxView, VelocityView, VelocityViewResolver, WebApplicationObjectSupport, WebContentGenerator, WebContentInterceptor, WebMvcConfigurationSupport, WebMvcConfigurationSupport.EmptyHandlerMapping, WorkManagerTaskExecutor, XmlPortletApplicationContext, XmlViewResolver, XmlWebApplicationContext, XsltView, XsltViewResolver, XStreamMarshaller

public interface Aware

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. 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 and AbstractAutowireCapableBeanFactory for examples of processing *Aware interface callbacks.

Since:
3.1
Author:
Chris Beams