0 Replies Latest reply on Jul 17, 2011 6:48 AM by Ro Chap

    SessionScoped producer method inside RequestScoped object

    Ro Chap Newbie


      I was wondering if the following code snippet is valid:

      public class Foo implements Serializable {
       public Bar getBar() {

      If so, does CDI promote the scope of the Foo component to SessionScoped?

      Thanks in advance.