main
1using Castle.MicroKernel.Registration;
2using gorilla.commons.utility;
3
4namespace gorilla.commons.infrastructure.thirdparty.Castle.Windsor.Configuration
5{
6 public class ComponentRegistrationConfiguration : RegistrationConfiguration
7 {
8 public void configure(ComponentRegistration registration)
9 {
10 new RegisterComponentContract()
11 .then(new ConfigureComponentLifestyle()).then(new ApplyLoggingInterceptor())
12 //.then(new LogComponent())
13 .configure(registration);
14 }
15 }
16}