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#4070928

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070928
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to