String targetMethod = target.getInjectionTargetName();
try {
Class<?> targetClass = Class.forName(targetClassName, false, loader);
ResourceInjectionTargetProgram resourceProgram
= new ResourceInjectionTargetProgram(this,
targetClass,
targetMethod);
cdiManager.getResourceManager().addResource(resourceProgram);