// Set the ExtraPropertiesStore instance, which is unique to this connector ...
LocalDocumentStore store = repository.documentStore().localStore();
String name = connector.getSourceName();
String sourceKey = NodeKey.keyForSourceName(name);
DocumentTranslator translator = getDocumentTranslator();
ExtraPropertiesStore defaultExtraPropertiesStore = new LocalDocumentStoreExtraProperties(store, sourceKey, translator);
ReflectionUtil.setValue(connector, "extraPropertiesStore", defaultExtraPropertiesStore);
connector.initialize(registry, nodeTypeManager);
// If successful, call the 'postInitialize' method reflectively (due to inability to call directly) ...