@Override
public void start( StartContext arg0 ) throws StartException {
ModeShapeEngine engine = getModeShapeEngine();
JcrRepository repository = null;
try {
repository = engine.getRepository(repositoryName);
} catch (NoSuchRepositoryException e) {
throw new StartException(e);
}
RepositoryConfiguration repositoryConfig = repository.getConfiguration();
Editor configEditor = repositoryConfig.edit();
EditableDocument textExtracting = configEditor.getOrCreateDocument(FieldName.TEXT_EXTRACTION);
EditableDocument extractors = textExtracting.getOrCreateDocument(FieldName.EXTRACTORS);