Thomas Andraschko created OWB-1136:
--------------------------------------

             Summary: Can't access SessionScoped beans inside @Observers 
@Initialized(SessionScoped)
                 Key: OWB-1136
                 URL: https://issues.apache.org/jira/browse/OWB-1136
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Context and Scopes, Lifecycle, Simple Web Beans
            Reporter: Thomas Andraschko
            Assignee: Thomas Andraschko


    @Produces
    @SessionScoped
    public MySession produce()
    {
        return new MySession();
    }
    
    @Inject private MySession session;
    
    public void init(@Observes @Initialized(SessionScoped.class) HttpSession 
httpSession)
            throws Exception
    {
        session.toString();
    }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to