org.springframework.data.mongodb.config
Class ServerAddressPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.mongodb.config.ServerAddressPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class ServerAddressPropertyEditor
- extends PropertyEditorSupport
Parse a String
to a ServerAddress
array. The format is host1:port1,host2:port2,host3:port3.
- Author:
- Mark Pollack, Oliver Gierke
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 |
ServerAddressPropertyEditor
public ServerAddressPropertyEditor()
setAsText
public void setAsText(String replicaSetString)
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
Copyright © 2012. All Rights Reserved.