Class MinaPropertyEditorRegistrar
- java.lang.Object
-
- org.apache.mina.integration.xbean.MinaPropertyEditorRegistrar
-
- All Implemented Interfaces:
org.springframework.beans.PropertyEditorRegistrar
public class MinaPropertyEditorRegistrar extends Object implements org.springframework.beans.PropertyEditorRegistrar
A custom SpringPropertyEditorRegistrar
implementation which registers by default all thePropertyEditor
implementations in the MINA Integration Beans module.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description MinaPropertyEditorRegistrar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry)
Registers customPropertyEditor
s in the MINA Integration Beans module.
-
-
-
Method Detail
-
registerCustomEditors
public void registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry)
Registers customPropertyEditor
s in the MINA Integration Beans module. Note: I did not know just how useful the rest of the property editors were or if they were redundant and replicated existing functionality of default editors packaged into Spring. So presently we're only registering editors for the following classes which are not found in Spring:- java.net.InetAddress
- java.net.InetSocketAddress
- org.apache.mina.core.session.TrafficMask
- org.apache.mina.integration.beans.VmPipeAddressEditor
- Specified by:
registerCustomEditors
in interfaceorg.springframework.beans.PropertyEditorRegistrar
- See Also:
PropertyEditorRegistrar.registerCustomEditors(PropertyEditorRegistry)
-
-