[ https://issues.jboss.org/browse/FORGE-2762?page=com.atlassian.jira.plugin... ]
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].
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[ https://issues.jboss.org/browse/FORGE-2762?page=com.atlassian.jira.plugin... ]
Martin Kouba updated FORGE-2762:
--------------------------------
Priority: Minor (was: Major)
> 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
>
> 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].
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[ https://issues.jboss.org/browse/FORGE-2764?page=com.atlassian.jira.plugin... ]
Martin Kouba updated FORGE-2764:
--------------------------------
Priority: Minor (was: Major)
> Allow to enable interceptors/decorators/alternatives globally using @javax.annotation.Priority
> ----------------------------------------------------------------------------------------------
>
> Key: FORGE-2764
> URL: https://issues.jboss.org/browse/FORGE-2764
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE
> Reporter: Martin Kouba
> Assignee: Martin Kouba
> Priority: Minor
>
> Enhance {{CDINewInterceptorCommand}}, {{CDINewDecoratorCommand}} and {{CDINewBeanCommand}}. Only for CDI 1.1+.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[ https://issues.jboss.org/browse/FORGE-2764?page=com.atlassian.jira.plugin... ]
Martin Kouba reassigned FORGE-2764:
-----------------------------------
Assignee: Martin Kouba
> Allow to enable interceptors/decorators/alternatives globally using @javax.annotation.Priority
> ----------------------------------------------------------------------------------------------
>
> Key: FORGE-2764
> URL: https://issues.jboss.org/browse/FORGE-2764
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE
> Reporter: Martin Kouba
> Assignee: Martin Kouba
>
> Enhance {{CDINewInterceptorCommand}}, {{CDINewDecoratorCommand}} and {{CDINewBeanCommand}}. Only for CDI 1.1+.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
Martin Kouba created FORGE-2764:
-----------------------------------
Summary: Allow to enable interceptors/decorators/alternatives globally using @javax.annotation.Priority
Key: FORGE-2764
URL: https://issues.jboss.org/browse/FORGE-2764
Project: Forge
Issue Type: Feature Request
Components: Java EE
Reporter: Martin Kouba
Enhance {{CDINewInterceptorCommand}}, {{CDINewDecoratorCommand}} and {{CDINewBeanCommand}}. Only for CDI 1.1+.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
Martin Kouba created FORGE-2763:
-----------------------------------
Summary: CDI - add command to modify project beans.xml
Key: FORGE-2763
URL: https://issues.jboss.org/browse/FORGE-2763
Project: Forge
Issue Type: Feature Request
Components: Java EE
Reporter: Martin Kouba
Allow to modify:
* bean discovery mode (CDI 1.1+)
* interceptors, decorators and alternatives enabled for a bean archive
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
Martin Kouba created FORGE-2762:
-----------------------------------
Summary: 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
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].
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)