Hey Gavin, I'm pretty sure this isn't right.
| @Scope(ScopeType.APPLICATION)
| public class Contexts
| {
|
| @Factory("org.jboss.seam.core.eventContext")
| public Context getEventContext()
| {
| return org.jboss.seam.contexts.Contexts.getEventContext();
| }
| ...etc...
| }
|
I think you meant
| @Scope(ScopeType.APPLICATION)
| public class Contexts
| {
|
| @Factory(value = "org.jboss.seam.core.eventContext", autoCreate = true,
scope = ScopeType.STATELESS)
| public Context getEventContext()
| {
| return org.jboss.seam.contexts.Contexts.getEventContext();
| }
| ...etc...
| }
|
I'm pretty sure nobody wants their session stored in the application scope :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070928#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...