This content has been marked as final.
Show 2 replies
-
1. Re: Outjection and Scope
dhinojosa Jun 16, 2006 5:26 PM (in response to cryptonaut)Try changing it to stateful. I don't think this bean is around long enough to get that list being stateless.
-
2. Re: Outjection and Scope
cryptonaut Jun 16, 2006 5:32 PM (in response to cryptonaut)Stateless, Stateful, it doesn't matter.
Actually, minutes before you posted your remarks I found the magic incantation:
use the @Factory annotation on method that retrieves the list:
@Factory
public String show() {
...
Then you can use any Scope.