org.apache.mina.integration.xbean
Class MinaPropertyEditorRegistrar
java.lang.Object
org.apache.mina.integration.xbean.MinaPropertyEditorRegistrar
- All Implemented Interfaces:
- PropertyEditorRegistrar
public class MinaPropertyEditorRegistrar
- extends Object
- implements PropertyEditorRegistrar
A custom Spring PropertyEditorRegistrar implementation which
registers by default all the PropertyEditor implementations in the
MINA Integration Beans module.
- Author:
- Apache MINA Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinaPropertyEditorRegistrar
public MinaPropertyEditorRegistrar()
registerCustomEditors
public void registerCustomEditors(PropertyEditorRegistry registry)
- Registers custom
PropertyEditors 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 interface PropertyEditorRegistrar
- See Also:
registerCustomEditors(org.springframework.beans.PropertyEditorRegistry)
Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.