1 Reply Latest reply on Dec 21, 2007 12:44 PM by pmuir

    Cooking lobsters (bijection)

    nickarls

      ("Noob bijection problem sounds so uninteresting")

      I have studied section 3.3 in the Holy Manual in search for an missing outjection so I'll ask here:

      If I have a component Kitchen which outjects an Lobster entity

      And a component Restaurant which has an injected Kitchen (no outjections)

      If I have a method in Restaurant

      public void cookLobster() {
       kitchen.cookTheLobster();
      }
      


      Is it expected behaviour that I see no outjected Lobster in the expected scope? Does the bijection-thingie only work on "top level", in this case around the cookLobster? Or should I start look for a bug in my code?

      (no, the examples are not from a real app) ;-)