org.springframework.beans.factory.config
Class CustomEditorConfigurer.SharedPropertyEditorRegistrar
java.lang.Object
org.springframework.beans.factory.config.CustomEditorConfigurer.SharedPropertyEditorRegistrar
- All Implemented Interfaces:
- PropertyEditorRegistrar
- Enclosing class:
- CustomEditorConfigurer
private static class CustomEditorConfigurer.SharedPropertyEditorRegistrar
- extends java.lang.Object
- implements PropertyEditorRegistrar
PropertyEditorRegistrar that registers a (deprecated) shared editor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requiredType
private final java.lang.Class requiredType
sharedEditor
private final java.beans.PropertyEditor sharedEditor
CustomEditorConfigurer.SharedPropertyEditorRegistrar
public CustomEditorConfigurer.SharedPropertyEditorRegistrar(java.lang.Class requiredType,
java.beans.PropertyEditor sharedEditor)
registerCustomEditors
public void registerCustomEditors(PropertyEditorRegistry registry)
- Description copied from interface:
PropertyEditorRegistrar
- Register custom
PropertyEditors with
the given PropertyEditorRegistry.
The passed-in registry will usually be a BeanWrapper or a
DataBinder.
It is expected that implementations will create brand new
PropertyEditors instances for each invocation of this
method (since PropertyEditors are not threadsafe).
- Specified by:
registerCustomEditors in interface PropertyEditorRegistrar
- Parameters:
registry - the PropertyEditorRegistry to register the
custom PropertyEditors with