当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
ConfigurableBeanFactoryUtils (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.beans.factory.support
Class ConfigurableBeanFactoryUtils
java.lang.Object
org.springframework.beans.factory.support.ConfigurableBeanFactoryUtils
public abstract class ConfigurableBeanFactoryUtils
- extends Object
Helper methods to populate a ConfigurableBeanFactory with resource editors.
Used by AbstractApplicationContext and XmlViewResolver.
- Since:
- 1.2
- Author:
- Juergen Hoeller
- See Also:
AbstractApplicationContext.refresh()
,
XmlViewResolver.initFactory()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableBeanFactoryUtils
public ConfigurableBeanFactoryUtils()
registerResourceEditors
public static void registerResourceEditors(ConfigurableBeanFactory beanFactory,
ResourceLoader resourceLoader)
- Populate the given bean factory with the following resource editors:
ResourceEditor, URLEditor, InputStreamEditor.
- Parameters:
beanFactory
- the bean factory to populateresourceLoader
- the ResourceLoader to create editors for
(usually an ApplicationContext)- See Also:
ResourceEditor
,
URLEditor
,
InputStreamEditor
,
ApplicationContext
registerResourceEditors
public static void registerResourceEditors(ConfigurableBeanFactory beanFactory,
ResourcePatternResolver resourcePatternResolver)
- Populate the given bean factory with the following resource editors:
ResourceEditor, URLEditor, InputStreamEditor, ResourceArrayPropertyEditor.
- Parameters:
beanFactory
- the bean factory to populateresourcePatternResolver
- the ResourcePatternResolver to create
editors for (usually an ApplicationContext)- See Also:
ResourceEditor
,
URLEditor
,
InputStreamEditor
,
ResourceArrayPropertyEditor
,
ApplicationContext
Copyright (c) 2002-2007 The Spring Framework Project.