2 Replies Latest reply on Jul 30, 2009 4:01 PM by Denis Anisimov

    Question about @Current binding type, inheritance and specialization.

    Denis Anisimov Newbie

      I don't have clear understanding situation with @Current and @Specializes.
      Let's consider cases :


      class Bean1 {
      }
      
      @Binding1
      @Specializes
      class Beans2 extends Bean1{
      }



      Does Bean2 have @Current binding in this situation ?


      @Binding1
      class Bean1 {
      }
      
      @Specializes
      class Bean2 extends Bean1{
      }



      Does Bean2 @Current binding in this situation ?


      Suppose @Bindnig2 is Inherited binding.
      Consider case :


      @Binding2
      class Bean1 {
      }
      
      class Bean2 extends Bean1{
      }



      Does Bean2 @Current binding in this situation ?