This content has been marked as final.
Show 1 reply
-
1. Re: Inject Application-Scope Component in SessionListener
nimo22 Sep 9, 2008 11:29 AM (in response to nimo22)The problem is solved.
At first, at had inject it in my listener via:
@In MyListener myListener
This does not work!
I have changed it to
MyListener myListener = new MyListener();
Now it works!
It s strange, as I had thought, that Seam injects a new Instance automatically, when I annotate it with @In. However, this is not the case!