[cdi-dev] Java EE component class injection point validation

Emily Jiang emijiang6 at googlemail.com
Mon May 18 03:23:56 EDT 2015


In CDI1.2 spec, section 5.5.7
If a Java EE component class supporting injection that is not a bean has an
injection point of
type InjectionPoint and qualifier @Default, the container automatically
detects the problem
and treats it as a definition error.

How can I plugin this validation? Is there a callback spi I can use to
validate the injection point on JavaEE component? This exception needs to
be thrown during the application deployment.

-- 
Thanks
Emily
=================
Emily Jiang
ejiang at apache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20150518/0ea10f48/attachment-0001.html 


More information about the cdi-dev mailing list