ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java
public void addComponentInterceptors(List<InterceptorFactory> factory, int priority, boolean publicOnly) {
        for (Method method : (Iterable<Method>)classIndex.getClassMethods()) {
            if (publicOnly && !Modifier.isPublic(method.getModifiers())) {
                continue;
            }
            OrderedItemContainer<List<InterceptorFactory>> interceptors = componentInterceptors.get(method);
            if (interceptors == null) {
                componentInterceptors.put(method, interceptors = new OrderedItemContainer<List<InterceptorFactory>>());
            }
            interceptors.add(factory, priority);
        }
    }
public void addComponentInterceptors(List<InterceptorFactory> factory, int priority, boolean publicOnly) {
        for (Method method : (Iterable<Method>)classIndex.getClassMethods()) {
            if (publicOnly && !Modifier.isPublic(method.getModifiers())) {
                continue;
            }
            OrderedItemContainer<List<InterceptorFactory>> interceptors = componentInterceptors.get(method);
            if (interceptors == null) {
                componentInterceptors.put(method, interceptors = new OrderedItemContainer<List<InterceptorFactory>>());
            }
            interceptors.add(factory, priority);
        }
    }
Adds an interceptor factory to every method on the component.

@param factory    The interceptor factory to add
@param priority   The interceptors relative order
@param publicOnly If true then then interceptor is only added to public methods