ColdSpring 2.0 - Narwhal

coldspring.beans.factory
Interface BeanFactoryAware

WEB-INF.cftags.interface
        extended by coldspring.beans.factory.BeanFactoryAware
All Known Implementing Classes:
ProxyFactoryBean , RemoteFactoryBean

public interface BeanFactoryAware
extends WEB-INF.cftags.interface

Interface to be implemented by beans that wish to be aware of their owning BeanFactory.
For example, beans can look up collaborating beans via the factory (Dependency Lookup). Note that most beans will choose to receive references to collaborating beans via corresponding bean properties or constructor arguments (Dependency Injection).


Method Summary
 void setBeanFactory(BeanFactory beanFactory)
          Callback that supplies the owning factory to a bean instance
 
Methods inherited from class WEB-INF.cftags.interface
 

Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties but before an initialization callback such as a custom init-method.

Parameters:
beanFactory -

ColdSpring 2.0 - Narwhal