4 Replies Latest reply on Mar 10, 2014 9:59 AM by David Ward

    Operation is not defined problem

    Anton Nikulin Newbie

      Hi

       

      I'm try to create a SwitchYard Bean based on interface that extends another interface. So I have such structure of classes like these:

       

      public interface A {

           void a();

      }

       

      public interface B extends A {

           void b();

      }

       

      @Service(B.class)

      public class BBean implements B{

           public void a(){

                ...

           }

       

           public void b(){

                ...

           }

      }

       

      Then i inject this bean in another one and try to invoke a() method, but when i invoke them i have such exception like:

       

      Operation a() is not defined on BBean.

       

      Does SwitchYard support interface extending and is there any possibility to make it working?


      Thanks, Anton