public interface BeanClassLoaderAware extends Aware
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
|Modifier and Type||Method and Description|
Callback that supplies the bean
void setBeanClassLoader(java.lang.ClassLoader classLoader)
class loaderto a bean instance.
classLoader- the owning class loader; may be
nullin which case a default
ClassLoadermust be used, for example the