0 Replies Latest reply on Jan 13, 2011 8:46 PM by william.drai

    Find the current Bean in an interceptor

    william.drai

      Hi,


      Is there any standard way to determine the current Bean in an interceptor ?


      I have tried this :


      Set<Bean<?>> beans = manager.getBeans(invocation.getTarget().getClass())
      



      but this does not work, at least with EJB, and I cannot be sure of which qualifiers to use.