org.apache.mina.integration.spring
Class VmPipeAddressEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.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: 437002 $, $Date: 2006-08-26 00:47:20 +0200 (Sat, 26 Aug 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)
See Also:
VmPipeAddress

Constructor Summary
VmPipeAddressEditor()
           
 
Method Summary
 void setAsText(String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, 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(String text)
               throws IllegalArgumentException
Throws:
IllegalArgumentException