[cdi-dev] [JBoss JIRA] (CDI-470) Clarify @Vetoed on recursive package
Romain Manni-Bucau (JIRA)
issues at jboss.org
Mon Sep 15 03:28:02 EDT 2014
[ https://issues.jboss.org/browse/CDI-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002173#comment-13002173 ]
Romain Manni-Bucau commented on CDI-470:
----------------------------------------
Hmm
for me it was logical that it was the opposite otherwise it is clearly too impacting when a project is well organized at package level.
scan block in beans.xml has .**, annotation should get it as well no?
> Clarify @Vetoed on recursive package
> ------------------------------------
>
> Key: CDI-470
> URL: https://issues.jboss.org/browse/CDI-470
> Project: CDI Specification Issues
> Issue Type: Clarification
> Components: Beans
> Affects Versions: 1.2.Final
> Reporter: Antonio Goncalves
>
> It's not clear in the specification is {{@Vetoed}} only apply to the current package or subpackages as well. This has been addressed on [CDI-299] but not solved. Either, we make it clearer in the spec that it only addresses the current package and not subpackages, or we could have a boolean, such as {{recursive}} :
> {code:title=package-info.java}
> @Vetoed(recursive=true)
> package my.parent.package;
> import javax.enterprise.inject.Vetoed;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the cdi-dev
mailing list