org.springframework.data.mongodb.config
Class ServerAddressPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.data.mongodb.config.ServerAddressPropertyEditor
All Implemented Interfaces:
PropertyEditor

public class ServerAddressPropertyEditor
extends PropertyEditorSupport

Parse a string to a List. The format is host1:port1,host2:port2,host3:port3.

Author:
Mark Pollack

Constructor Summary
ServerAddressPropertyEditor()
           
 
Method Summary
 void setAsText(String replicaSetString)
          Parse a string to a List
 
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

ServerAddressPropertyEditor

public ServerAddressPropertyEditor()
Method Detail

setAsText

public void setAsText(String replicaSetString)
Parse a string to a List

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport


Copyright © 2011. All Rights Reserved.