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; ... }
Null would be injected.