This content has been marked as final.
Show 4 replies
-
1. Re: Removing Stateful Session Beans from the Session gracefu
pmuir Jan 17, 2008 12:25 PM (in response to oberiko)If you want to remove an object from a scope
Contexts.getSessionContext().remove("foo");
You can put this in an @Observer method, and raise an event when you modify the user list (this is a very neat way of doing what you are after IMO). -
2. Re: Removing Stateful Session Beans from the Session gracefu
oberiko Jan 17, 2008 12:51 PM (in response to oberiko)Thanks Pete, I'll give that a go.
-
3. Re: Removing Stateful Session Beans from the Session gracefu
oberiko Jan 17, 2008 12:54 PM (in response to oberiko)Oh, I should have asked.
I assume "foo" refers to the Seam component name? Is there a way to get this without typing it in directly (i.e. "this.getContextName()" or some such thing) -
4. Re: Removing Stateful Session Beans from the Session gracefu
pmuir Jan 17, 2008 1:03 PM (in response to oberiko)Yes and no.