接口 PropertyEditorRegistrar

    • 方法详细资料

      • registerCustomEditors

        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).

        参数:
        registry - the PropertyEditorRegistry to register the custom PropertyEditors with