If I registered several components with Windsor.
IAnimal provides BigAnimal IPerson provides SmellyPerson IWhale provides BlueWhale
etc.. pretty standard com
Just wrote this baby:
public static BasedOnDescriptor WithInterceptor(this BasedOnDescriptor reg, string interceptorComponentName) { return reg.Configure(x=> x.Configuration( Child.ForName("interceptors").Eq( Child.ForName("interceptor").Eq( "${" + interceptorComponentName + "}" )))); }