private static <D extends DatastoreConfiguration<G>, G extends GlobalContext<?, ?>> AppendableConfigurationContext invokeOptionConfigurator(
			OptionConfigurator configurator) {

		ConfigurableImpl configurable = new ConfigurableImpl();
		configurator.configure( configurable );
		return configurable.getContext();
	}
private static < D extends DatastoreConfiguration < G > , G extends GlobalContext < ? , ? > > AppendableConfigurationContext invokeOptionConfigurator ( OptionConfigurator configurator ) { ConfigurableImpl configurable = new ConfigurableImpl ( ) ; configurator . configure ( configurable ) ; return configurable . getContext ( ) ; }
Invokes the given configurator, obtaining the correct global context type via the datastore configuration type of
the current datastore provider.

@param configurator the configurator to invoke
@return a context object containing the options set via the given configurator