ClassLoader loader = Thread.currentThread().getContextClassLoader();
Class<?> serviceClass = Class.forName(className, false, loader);
if (! serviceApi.isAssignableFrom(serviceClass))
throw new InjectionException(L.l("'{0}' is not a valid servicebecause it does not implement {1}",
serviceClass, serviceApi.getName()));
return (Class<T>) serviceClass;
} catch (Exception e) {
log.log(Level.WARNING, e.toString(), e);