Castle Windsor Interceptors Auto Registration
===

I am learning to use interceptors [here][1]. Before this, I was using auto-registration to scan and register everything like this: 

`AllTypes.FromAssemblyContaining...Where...WithServices.AllInterfaces...Lifestyle...;`

However, now because I need to name them: `.Named("ValidateInterceptor");` and register them `.Interceptors(InterceptorReference.ForKey("ValidateInterceptor");` by their names, I don't know how to turn this into an auto-registration style? I have many components it is a trouble to manually register them one by one. 

Could you please show me how to do it or where I can see some examples of auto registering interceptors?

Following is the IWindsorInstaller I managed to put together in a manual registration style: (Selector is a selector class from the link I provided)

    public void Install(IWindsorContainer container, IConfigurationStore store) {
        //registering interceptors
        container.Register(Component.For<IValidateInterceptor>().ImplementedBy<ValidateInterceptor>().Named("ValidateInterceptor"));
        container.Register(Component.For<ILoggerInterceptor>().ImplementedBy<LoggerInterceptor>().Named("LoggerInterceptor"));

        //interceptor selector for methods
        var dict = new Dictionary<Type, string[]>();
        dict.Add(typeof(ValidateInterceptor, new string[]{"ClassLibrary1.IBarService.GetFoo","ClassLibrary.ISomething.DoSomething"});
        dict.Add(typeof(LoggerInterceptor, new string[]{"ClassLibrary1.IBarService.GetFoo","ClassLibrary.ISomething.DoSomething"});
        container.Register(Component.For<IInterceptorSelector>().ImplementedBy<InterceptorSelector>().LifestyleSingleton());
        var selector = container.Resolve<IInterceptorSelector>(new {dict = dict});

        //applying the interceptors 
        container.Register(     
            Component.For<ISomething>()     
            .ImplementedBy<Something>()     
            .Interceptors(             
                    InterceptorReference.ForKey("ValidateInterceptor"),             
                    InterceptorReference.ForKey("LoggerInterceptor"))             
            .SelectedWith(selector).Anywhere);

        //How do I apply the interceptors to these classes??
        container.Register(AllTypes
            .FromAssemblyContaining<IBarService>()
            .Where(type => type.Name.EndsWith("Service"))
            .WithService
            .AllInterfaces()
            .LifestyleTransient());
    ....
    }

  [1]: http://docs.castleproject.org/Windsor.Introduction-to-AOP-With-Castle.ashx