|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
protected |
AbstractBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
Create a new AbstractBeanDefinitionReader for the given factory. |
Method Summary | |
java.lang.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(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 |
Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionReader |
loadBeanDefinitions |
Field Detail |
protected final org.apache.commons.logging.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(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()
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 |