code: public static void injectWith(Class<InjectionProvider> provider) {
  
  		try {
  			injectionProvider = (InjectionProvider) ClassFactory.newInstanceOf(provider);
  			log.info("Registered injection provider: " + injectionProvider.getClass().getName());
  		}
  		catch (ClassFactoryException e) {
  			log.error("Failed to instantiate injection provider: ", e);
  			throw new IllegalArgumentException(e);
  		}
  	}
docs: Provide an injector to getInstance classes where needed
  
  @param provider class type