org.apache.mina.integration.spring
Class VmPipeAddressEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.mina.integration.spring.VmPipeAddressEditor
- All Implemented Interfaces:
- PropertyEditor
public class VmPipeAddressEditor
- extends PropertyEditorSupport
Java Bean PropertyEditor
which converts Strings into
VmPipeAddress
objects. Valid values specify an integer port number
optionally prefixed with a ':'. E.g.: :80
, 22
.
Use Spring's CustomEditorConfigurer to use this property editor in a Spring
configuration file. See chapter 3.14 of the Spring Reference Documentation
for more info.
- Version:
- $Revision: 555855 $, $Date: 2007-07-13 05:19:00 +0200 (Fri, 13 Jul 2007) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
- See Also:
VmPipeAddress
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VmPipeAddressEditor
public VmPipeAddressEditor()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.