|
|||||||||||
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 which implement the BeanDefinitionReader interface.
Provides common properties like the bean factory to work on and the class loader to use for loading bean classes.
BeanDefinitionReaderUtils
Field Summary | |
protected Log |
logger
|
Constructor Summary | |
protected |
AbstractBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
Create a new AbstractBeanDefinitionReader for the given factory. |
Method Summary | |
ClassLoader |
getBeanClassLoader()
Return the class loader to use for bean classes. |
BeanDefinitionRegistry |
getBeanFactory()
Return the bean factory to register the bean definitions with. |
void |
setBeanClassLoader(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 |
Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionReader |
loadBeanDefinitions |
Field Detail |
protected final Log logger
Constructor Detail |
protected AbstractBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
beanFactory
- the bean factory to work onMethod Detail |
public BeanDefinitionRegistry getBeanFactory()
BeanDefinitionReader
getBeanFactory
in interface BeanDefinitionReader
public void setBeanClassLoader(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 ClassLoader getBeanClassLoader()
BeanDefinitionReader
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.
getBeanClassLoader
in interface BeanDefinitionReader
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |