Class StringToWriteConcernConverter
java.lang.Object
org.springframework.data.mongodb.config.StringToWriteConcernConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,
com.mongodb.WriteConcern>
public class StringToWriteConcernConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,com.mongodb.WriteConcern>
Converter to create
WriteConcern
instances from String representations.- Author:
- Oliver Gierke
-
Constructor Details
-
StringToWriteConcernConverter
public StringToWriteConcernConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<String,
com.mongodb.WriteConcern>
-