Top Description
org.springframework.beans.factory

public Interface Aware

Known Direct Subinterfaces
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware

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 org.springframework.beans.factory.config.BeanPostProcessor. Refer to org.springframework.context.support.ApplicationContextAwareProcessor for an example of processing specific *Aware interface callbacks.

Authors
Chris Beams, Juergen Hoeller
Since
3.1