My configuration is: Wildfly 8.2.0, Weld
Is it possible to inject in bean and not in its interface in CDI ?
@Stateless
class Bean implements IBean {
...
}
interface IBean {
...
}
@SessionScoped
class Scoped {
@Inject
Bean bean; //Fail
@Inject
IBean iBean; //OK
}
EDIT:
More Info in my previous question: Stateless EJB implements interface injection failed