code: public static void addProvider(Class<? extends ContextProvider> provider) {
  
  		Class clazz = (Class) ClassFactory.getGenericType(provider);
  		addProvider(clazz, provider);
  	}
docs: Registers a context provider for given type of class
  
  @param provider clazz type to be registered