Save This Page
Home » Spring-Framework-090522 » org.springframework » beans » factory » [javadoc | source]
org.springframework.beans.factory
public interface: BeanClassLoaderAware [javadoc | source] Callback that allows a bean to be aware of the bean class loader ; that is, the class loader used by the present bean factory to load bean classes.

This is mainly intended to be implemented by framework classes which have to pick up application classes by name despite themselves potentially being loaded from a shared class loader.

For a list of all bean lifecycle methods, see the BeanFactory javadocs .

Method from org.springframework.beans.factory.BeanClassLoaderAware Summary:
setBeanClassLoader
Method from org.springframework.beans.factory.BeanClassLoaderAware Detail:
 public  void setBeanClassLoader(ClassLoader classLoader)