What is the precedence of scope in this contrived scenario? The first is the data member
which I want to inject, is SESSION scoped. The second is the Stateless SB, with EVENT
scope, who defines the MyDataMember with APPLICATION scope. See "HERE" in the
code:
| @Name("myDataMember")
| @Scope(SESSION) //HERE
| public class MyDataMember {
| ...
| }
@Stateless
| @Name("myAction")
| @Scope(EVENT) //HERE
| public class MyAction implements MyLocal {
|
| @In(scope=APPLICATION) //HERE
| private MyDataMember myDataMember;
| ...
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046868#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...