You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2016/07/21 09:37:20 UTC
[jira] [Created] (OWB-1136) Can't access SessionScoped beans inside
@Observers @Initialized(SessionScoped)
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)