]
George Gastaldi closed FORGE-2762.
----------------------------------
Fix Version/s: 3.7.3.Final
Resolution: Done
Dependent beans created by CDINewBeanCommand should declare scope
annotation if CDI 1.1 project facet is used
-------------------------------------------------------------------------------------------------------------
Key: FORGE-2762
URL:
https://issues.jboss.org/browse/FORGE-2762
Project: Forge
Issue Type: Feature Request
Components: Java EE
Reporter: Martin Kouba
Assignee: Martin Kouba
Priority: Minor
Fix For: 3.7.3.Final
The reason is that in CDI 1.1 an _implicit bean archive_ could be used and in such case,
only bean classes annotated with a bean defining annotation are considered (i.e. the bean
created with {{CDINewBeanCommand}} would be ignored). See also [Bean
archives|http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#bean_archive] and [Default bean
discovery
mode|http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#default_bean_discovery].