code: public List<Interceptor<?>> getInterceptors(J2EEName ejbJ2EEName, Method method, InterceptionType interceptionType) {
          List<Interceptor<?>> interceptors = new ArrayList<Interceptor<?>>();
  
          //find the Interceptor Bindings for the ejb
          InterceptorBindings ejbInterceptors = allInterceptors.get(ejbJ2EEName);
  
          if (ejbInterceptors != null) {
              //get the method interceptors of the right type
  
              org.jboss.weld.interceptor.spi.model.InterceptionType internalInterceptionType =
                              org.jboss.weld.interceptor.spi.model.InterceptionType.valueOf(interceptionType.name());
  
              if (internalInterceptionType.isLifecycleCallback()) {
                  List<Interceptor<?>> lifecycleInterceptors = ejbInterceptors.getLifecycleInterceptors(interceptionType);
                  interceptors.addAll(lifecycleInterceptors);
              }
              else {
                  List<Interceptor<?>> methodInterceptors = ejbInterceptors.getMethodInterceptors(interceptionType, method);
                  interceptors.addAll(methodInterceptors);
              }
          }
  
          return interceptors;
  
      }
docs: Find all the interceptors of a given type for a given method on an ejb
  
  @param ejbName the J2EEName of the ejb
  @param method the method to be intercepted
  @param interceptionType the type of interception