1 Reply Latest reply on Sep 21, 2004 3:25 PM by bill.burke

    Inheritance and AOP

    cepage

       

      public abstract class MyAbstractClass
      {
       @Tx(TxType.REQUIRED)
       protected abstract void myMethod();
      }
      
      
      public class MySubClass
      {
       public void myMethod()
       {
       ....
       }
      }
      


      Will calls to MySubClass -> myMethod() go through the Tranasction Interceptor?

      Thanks,
      Corby

        • 1. Re: Inheritance and AOP
          bill.burke

          No. The @Tx annotation is not @Inherited and JBoss AOP doesn't support @Inherited annotations (when they trigger pointcut bindings).

          Thanks for bringing it up. I'll add it to the list.

          Bill