Martin Kouba commented on Task WELD-1351

Weld currently supports excluding classes from scanning (see http://docs.jboss.org/weld/reference/2.0.0.Beta2/en-US/html/configure.html#d0e5771).

The differences from the Weld impl point of view:

  • missing support for <if-class-not-available name="..."/> exclude activation
  • activation name attributes may be inverted using exclamation mark, <if-class-not-available> is written as <if-class-available name="!org.jboss.Foo" />
  • exclude filter may also specify regular _expression_ pattern attribute
  • it seems there was originally some include functionality as well (see org.jboss.weld.xml.BeansXmlHandler), though it's not documented at all

Note that if namespaces are omitted everything except <if-class-not-available> works as expected.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to