Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » [javadoc | source]
org.springframework.beans
public interface: PropertyEditorRegistrar [javadoc | source]

All Known Implementing Classes:
    ResourceEditorRegistrar

Interface for strategies that register custom property editors with a property editor registry .

This is particularly useful when you need to use the same set of property editors in several different situations: write a corresponding registrar and reuse that in each case.

Method from org.springframework.beans.PropertyEditorRegistrar Summary:
registerCustomEditors
Method from org.springframework.beans.PropertyEditorRegistrar Detail:
 public  void registerCustomEditors(PropertyEditorRegistry registry)
    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).