Hi Martin, I did not paste the cdibean produer code. public class CDIBeanProducer {
@Inject private BeanManager manager;
@Produces public CDIBean produce(InjectionPoint ip){
if(ip == null) { throw new RuntimeException("InjectionPoint is NULL when producing CDIBean"); }
return new CDIBean(manager);
}
}
|