Custom content storage

SimpleFileSystemContentStorage is the default in use. Let’s say I want to replace that with my custom content storage implementation.
public class AcmeContentStorage implements ContentStorage

My question is how to register it. For example do I create a content engine configuration like below? Then how do I wire it to replace SpringContentEngineConfiguration?
public class AcmeSpringContentEngineConfiguration extends SpringContentEngineConfiguration
public void initContentStorage() {
contentStorage = new AcmeContentStorage();


Thanks in advance.