public void addComponentInterceptors(Method method, List<InterceptorFactory> factory, int priority) {
    """
	Adds an interceptor factory to a given method. The method parameter *must* be retrived from either the
	{@link org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex} or from {@link #getDefinedComponentMethods()},
	as the methods are stored in an identity hash map
	
	@param method   The method to add the interceptor to
	@param factory  The interceptor factory to add
	@param priority The interceptors relative order
    """
        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(Method method, List<InterceptorFactory> factory, int priority) {
        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 ( Method method , List < InterceptorFactory > factory , int priority ) { 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 a given method. The method parameter *must* be retrived from either the
{@link org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex} or from {@link #getDefinedComponentMethods()},
as the methods are stored in an identity hash map

@param method   The method to add the interceptor to
@param factory  The interceptor factory to add
@param priority The interceptors relative order
Adds an interceptor factory to a given method . The method parameter * must * be retrived from either the { @link org . jboss . as . server . deployment . reflect . DeploymentReflectionIndex } or from { @link #getDefinedComponentMethods () } as the methods are stored in an identity hash map