So, you can skip the lookupInStatefullContexts if you use
Component.getInstance("foo", SESSION);
You can use this in your app using @In(scope=SESSION) Foo foo;
However you still have to do a lookupInStatefulContexts when injecting objects into JSF.
You should raise JIRA issues if you spot Seam internally not explicitly scoping
getInstance() inside instance methods.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099258#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...