public void configure(Map configurationValues) {
OptionsService optionsService = serviceRegistry.getService( OptionsService.class );
ClassLoaderService classLoaderService = serviceRegistry.getService( ClassLoaderService.class );
ConfigurationPropertyReader propertyReader = new ConfigurationPropertyReader( configurationValues, classLoaderService );
this.config = new MongoDBConfiguration( propertyReader, optionsService.context().getGlobalOptions() );
}