java.lang.Object | |
↳ | org.springframework.beans.support.ResourceEditorRegistrar |
PropertyEditorRegistrar implementation that populates a given
PropertyEditorRegistry
(typically a BeanWrapper
used for bean
creation within an ApplicationContext
)
with resource editors. Used by
AbstractApplicationContext
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
as of Spring 3.1 in favor of
ResourceEditorRegistrar#ResourceEditorRegistrar(ResourceLoader, Environment)
| |||||||||||
Create a new ResourceEditorRegistrar for the given ResourceLoader
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Populate the given bean factory with the following resource editors:
ResourceEditor, InputStreamEditor, FileEditor, URLEditor, ClassEditor, URIEditor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.PropertyEditorRegistrar
|
This constructor is deprecated.
as of Spring 3.1 in favor of
ResourceEditorRegistrar#ResourceEditorRegistrar(ResourceLoader, Environment)
Create a new ResourceEditorRegistrar for the given ResourceLoader
using a DefaultEnvironment
.
resourceLoader | the ResourceLoader (or ResourcePatternResolver) to create editors for (usually an ApplicationContext) |
---|
Create a new ResourceEditorRegistrar for the given ResourceLoader
resourceLoader | the ResourceLoader (or ResourcePatternResolver) to create editors for (usually an ApplicationContext) |
---|
Populate the given bean factory with the following resource editors: ResourceEditor, InputStreamEditor, FileEditor, URLEditor, ClassEditor, URIEditor.
In case of a ResourcePatternResolver
,
a ResourceArrayPropertyEditor will be registered as well.
registry | the PropertyEditorRegistry to register the
custom PropertyEditors with
|
---|