[
https://issues.jboss.org/browse/JBIDE-9401?page=com.atlassian.jira.plugin...
]
Alexey Kazakov edited comment on JBIDE-9401 at 7/26/11 1:08 PM:
----------------------------------------------------------------
This bean is available for injection in JBT if you have weld jars in the project classpath
since there is org.jboss.weld.context.conversation.ConversationImpl bean which implements
javax.enterprise.context.Conversation
But we should provide a built-in bean with bean type Conversation, scope @RequestScoped,
and qualifier @Default, named javax.enterprise.context.conversation regardless of project
classpath and CDI implementation used in the project.
See JSR-299:
{quote}
6.7.5. The Conversation interface
The container provides a built-in bean with bean type Conversation, scope @RequestScoped,
and qualifier @Default,
named javax.enterprise.context.conversation.
{quote}
was (Author: akazakov):
This bean is available for injection in JBT if you have weld jars in the project
classpath since there is org.jboss.weld.context.conversation.ConversationImpl bean which
implements javax.enterprise.context.Conversation
But we should provide bean a built-in bean with bean type Conversation, scope
@RequestScoped, and qualifier @Default, named javax.enterprise.context.conversation
regardless of project classpath and CDI implementation used in the project.
See JSR-299:
{quote}
6.7.5. The Conversation interface
The container provides a built-in bean with bean type Conversation, scope @RequestScoped,
and qualifier @Default,
named javax.enterprise.context.conversation.
{quote}
No beans eligible for injection warning for Converstaion
--------------------------------------------------------
Key: JBIDE-9401
URL:
https://issues.jboss.org/browse/JBIDE-9401
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi
Affects Versions: 3.3.0.M2
Reporter: Cody Lerum
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M3
Tooling is showing a "No bean is eligible for injection to the injection point
[JSR-299 §5.2.1]" warning when
@Inject
private Conversation converstation;
Conversation is javax.enterprise.context.Conversation;
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira