[weld-dev] Validation on Alternative/Interceptor/Decorator mentioned in beans.xml

Emily Jiang emijiang6 at googlemail.com
Wed Apr 29 17:52:14 EDT 2015


CDI1.2 spec section 8.2.2 says:
In the beans.xml
Each child <class> element must specify the name of a decorator bean class.
If there is no class with the specified name, or if the class with the
specified name is not a decorator bean class, the container automatically
detects the problem and treats it as a deployment problem.
If the same class is listed twice under the <decorators> element, the
container automatically detects the problem and treats it as a deployment
problem.

Will Weld do the validation or Weld expects the integrator to do the
validation?

I am confused about what validations are done by the spec reference
implemenatation (RI) or RI consumer.
-- 
Thanks
Emily
=================
Emily Jiang
ejiang at apache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20150429/c4d76add/attachment.html 


More information about the weld-dev mailing list