public interface ConfigurationUtils
| Modifier and Type | Method and Description |
|---|---|
static String |
getRequiredBeanClassName(BeanDefinition beanDefinition)
Returns the bean class name of the given
BeanDefinition. |
static ClassLoader |
getRequiredClassLoader(ResourceLoader resourceLoader)
Returns the
ClassLoader used by the given ResourceLoader. |
static ClassLoader |
getRequiredClassLoader(XmlReaderContext context)
Returns the
ClassLoader used by the given XmlReaderContext. |
static ResourceLoader |
getRequiredResourceLoader(XmlReaderContext context)
Returns the
ResourceLoader from the given XmlReaderContext. |
static ResourceLoader getRequiredResourceLoader(XmlReaderContext context)
ResourceLoader from the given XmlReaderContext.context - must not be null.IllegalArgumentException - if no ResourceLoader can be obtained from the XmlReaderContext.static ClassLoader getRequiredClassLoader(XmlReaderContext context)
ClassLoader used by the given XmlReaderContext.context - must not be null.IllegalArgumentException - if no ClassLoader can be obtained from the given XmlReaderContext.static ClassLoader getRequiredClassLoader(ResourceLoader resourceLoader)
ClassLoader used by the given ResourceLoader.resourceLoader - must not be null.IllegalArgumentException - if the given ResourceLoader does not expose a ClassLoader.static String getRequiredBeanClassName(BeanDefinition beanDefinition)
BeanDefinition.beanDefinition - must not be null.IllegalArgumentException - if the given BeanDefinition does not contain a bean class name.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.