Class ReadPreferencePropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.mongodb.config.ReadPreferencePropertyEditor
- All Implemented Interfaces:
PropertyEditor
Parse a
String to a ReadPreference.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
ReadPreferencePropertyEditor
public ReadPreferencePropertyEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-