@Override
    public void configure(DocumentmanagerConfig config) {
        DocumentTypeManager manager = configureNewManager(config);
        int defaultTypeCount = new DocumentTypeManager().getDataTypes().size();
        if (this.managerToConfigure.getDataTypes().size() != defaultTypeCount) {
            log.log(Level.FINE, "Live document config overwritten with new config.");
        }
        managerToConfigure.internalAssign(manager);
    }
Called by the configuration system to register document types based on documentmanager.cfg.

@param config the instance representing config in documentmanager.cfg.
document/src/main/java/com/yahoo/document/DocumentTypeManagerConfigurer.java