org.apache.mina.integration.spring
Class VmPipeAddressEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.mina.integration.spring.VmPipeAddressEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class VmPipeAddressEditor
extends java.beans.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.

See Also:
VmPipeAddress

Constructor Summary
VmPipeAddressEditor()
           
 
Method Summary
 void setAsText(java.lang.String text)
           
 
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
 

Constructor Detail

VmPipeAddressEditor

public VmPipeAddressEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException