1 Reply Latest reply on Sep 6, 2010 4:17 AM by jaikiran pai

    Generic Interfaces, Interceptors and JBoss 5.1.0GA

    Alexander Paluch Newbie

      Hello everyone,


      I am implementing EJBs by using a Generic super Interface. This interface becomes concrete  by deriving a local / remote interface. Now if I try to use Interceptors, they just won't be called. However, if I remove the generic Parametrization <T>, the interceptor gets called correctly. Is this a JBoss implementation issue or is it just illegal to use generic interfaces within the EJB standard?




      public interface IMySuperGenericService<T> {


      public T call(T io);







      public interface MyConcreteServiceLocal extends IMySuperGenericService<MyType> {








      public MyConcreteServiceImpl implements MyConcreteServiceLocal {