|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.AbstractBeanDefinitionReader
Abstract base class for bean definition readers. Provides common properties like the bean factory to work on and the class loader to use for loading bean classes.
Constructor Summary | |
protected |
AbstractBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
|
Method Summary | |
java.lang.ClassLoader |
getBeanClassLoader()
Return the class loader for bean classes. |
BeanDefinitionRegistry |
getBeanFactory()
Return the BeanFactory that this reader works on. |
void |
setBeanClassLoader(java.lang.ClassLoader beanClassLoader)
Set the class loader to use for bean classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
Method Detail |
public BeanDefinitionRegistry getBeanFactory()
public void setBeanClassLoader(java.lang.ClassLoader beanClassLoader)
Setting this to null suggests to not load bean classes but just register bean definitions with class names, for example when just registering beans in a registry but not actually instantiating them in a factory.
Thread.getContextClassLoader()
public java.lang.ClassLoader getBeanClassLoader()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |