public abstract class AbstractObjectMapperFactory implements ObjectMapperFactory{
private StdObjectMapperFactory mapperFactory = new StdObjectMapperFactory();
public ObjectMapper createObjectMapper() {
return decorate(mapperFactory.createObjectMapper());
}
public ObjectMapper createObjectMapper(CouchDbConnector connector) {
return decorate(mapperFactory.createObjectMapper(connector));
}
protected abstract ObjectMapper decorate(ObjectMapper mapper);
}
--
You received this message because you are subscribed to the Google Groups "ektorp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ektorp-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.