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
-
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:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-