[cdi-dev] [JBoss JIRA] (CDI-470) Clarify @Vetoed on recursive package

Antonio Goncalves (JIRA) issues at jboss.org
Sun Sep 14 02:21:02 EDT 2014


Antonio Goncalves created CDI-470:
-------------------------------------

             Summary: 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