public void addComponentInterceptor(InterceptorFactory factory, int priority, boolean publicOnly) {
    """
	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
    """
        addComponentInterceptors(Collections.singletonList(factory), priority, publicOnly);
    }
public void addComponentInterceptor(InterceptorFactory factory, int priority, boolean publicOnly) {
        addComponentInterceptors(Collections.singletonList(factory), priority, publicOnly);
    }
public void addComponentInterceptor ( InterceptorFactory factory , int priority , boolean publicOnly ) { addComponentInterceptors ( Collections . singletonList ( factory ) , priority , publicOnly ) ; }
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
Adds an interceptor factory to every method on the component .