castleproject/Windsor — pull request #16 by hazzik (2012-11-21 12:18:48+00:00)
Title: Implemented support for closed generic interceptors (IOC-369)

The problem was in IntrceptorReference reference component name.

Probably it is better to resolve interceptors by type if it is defined?

```
public class MySuperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.Register(
Component.For(typeof (MyInterceptor<>)),
Component.For().Interceptors>());
}
}

public class MyInterceptor : IInterceptor
{
public void Intercept(IInvocation invocation)
{
// Some work that depends on T
}
}
```