[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-8017) No bean is eligible for @Inject BeanManager manager;

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Dec 30 11:00:17 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-8017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572542#comment-12572542 ] 

Viacheslav Kabanovich edited comment on JBIDE-8017 at 12/30/10 10:59 AM:
-------------------------------------------------------------------------

At present only one implementation of BeanManager exists - org.jboss.weld.manager.BeanManagerImpl. Let's in this version just add to CDI beans that type and avoid performance problems related with building hierarchy. 

      was (Author: scabanovich):
    At present only implementation of BeanManager exists - org.jboss.weld.manager.BeanManagerImpl. Let's in this version just add to CDI beans that type and avoid performance problems related with building hierarchy. 
  
> No bean is eligible for @Inject BeanManager manager;
> ----------------------------------------------------
>
>                 Key: JBIDE-8017
>                 URL: https://issues.jboss.org/browse/JBIDE-8017
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.CR1
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.CR1, 3.3.x
>
>
> See the spec.:
> 11.3. The BeanManager object
> Portable extensions sometimes interact directly with the container via programmatic API call. The interface javax.enterprise.inject.spi.BeanManager provides operations for obtaining contextual references for beans, along with many other operations of use to portable extensions. The container provides a built-in bean with bean type BeanManager, scope @Dependent and qualifier @Default.
> The builtin implementation must be a passivation capable dependency, as defined in Section 6.6.2, "Passivation capable dependencies". Thus, any bean may obtain an instance of BeanManager by injecting it:
> @Inject BeanManager manager;

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list