Also: SpringBeans
public interface

BeanClassLoaderAware

implements Aware
org.springframework.beans.factory.BeanClassLoaderAware
Known Indirect Subclasses

Class Overview

Callback that allows a bean to be aware of the bean ClassLoader 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.

Summary

Public Methods
abstract void setBeanClassLoader(ClassLoader classLoader)
Callback that supplies the bean class loader to a bean instance.

Public Methods

public abstract void setBeanClassLoader (ClassLoader classLoader)

Also: SpringBeans

Callback that supplies the bean class loader to a bean instance.

Invoked after the population of normal bean properties but before an initialization callback such as InitializingBean's afterPropertiesSet() method or a custom init-method.

Parameters
classLoader the owning class loader; may be null in which case a default ClassLoader must be used, for example the ClassLoader obtained via getDefaultClassLoader()