org.springframework.data.mongodb.config

Class StringToWriteConcernConverter

  • java.lang.Object
    • org.springframework.data.mongodb.config.StringToWriteConcernConverter
  • All Implemented Interfaces:
    Converter<String,com.mongodb.WriteConcern>


    public class StringToWriteConcernConverter
    extends Object
    implements Converter<String,com.mongodb.WriteConcern>
    Converter to create WriteConcern instances from String representations.
    Author:
    Oliver Gierke
    • Constructor Detail

      • StringToWriteConcernConverter

        public StringToWriteConcernConverter()
    • Method Detail

      • convert

        public com.mongodb.WriteConcern convert(String source)
        Specified by:
        convert in interface Converter<String,com.mongodb.WriteConcern>