Following on from this, I have removed CDI injection services for EJBs
from the built in EJB interceptor, this now must be performed by the
container using InjectionTarget.
* to achieve this there are three methods added to WebBeansManager
(our extension of BeanManager) - createInjectionTarget(EjbDescriptor<?
ejbDescriptor); getBean(EjbDescriptor<?> ejbDescriptor); and
getEjbDescriptor(String ejbName);
These should be used, rather than the "regular" createInjectionTarget
At the same time, I have also massively simplified a few of the EJB
structures:
* the container must now implement isRemoved() on
SessionObjectReference to let WB know if a EJB has been removed.
Previously Web Beans was detecting this itself
* we now no longer track EJBs by bean class at all, but rather by ejb
name througout, to facilitate this, getEjbName has been added to
EjbDescriptor
Docs to follow.
On 27 Aug 2009, at 15:18, Pete Muir wrote:
In trunk we now have per-BeanDeploymentArchive services, one of
which
is InjectionServices, which will be called for every injection
performed by WB on contextual and and non-contextual instance
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev