resourceMap.put(parameterType, parameterValue);
resourceMap.put(ObjectLocator.class, resources);
resourceMap.put(Logger.class, resources.getLogger());
InjectionResources injectionResources = new MapInjectionResources(resourceMap);
// For each of the other configuration types that is not expected, add a guard.
for (Class t : CONFIGURATION_TYPES)
{