@@ -493,6 +493,7 @@ private void registerCustomInterceptors(
493
493
Object interceptor = null ;
494
494
try {
495
495
interceptor = theAppContext .getBean (clazz );
496
+ ourLog .info ("registering custom interceptor as bean: {}" , className );
496
497
} catch (NoSuchBeanDefinitionException ex ) {
497
498
// no op - if it's not a bean we'll try to create it
498
499
}
@@ -501,6 +502,7 @@ private void registerCustomInterceptors(
501
502
if (interceptor == null ) {
502
503
try {
503
504
interceptor = clazz .getConstructor ().newInstance ();
505
+ ourLog .info ("registering custom interceptor as pojo: {}" , className );
504
506
} catch (Exception e ) {
505
507
throw new ConfigurationException ("Unable to instantiate interceptor class : " + className , e );
506
508
}
@@ -532,6 +534,7 @@ private void registerCustomProviders(
532
534
Object provider = null ;
533
535
try {
534
536
provider = theAppContext .getBean (clazz );
537
+ ourLog .info ("registering custom provider as bean: {}" , className );
535
538
} catch (NoSuchBeanDefinitionException ex ) {
536
539
// no op - if it's not a bean we'll try to create it
537
540
}
@@ -540,6 +543,7 @@ private void registerCustomProviders(
540
543
if (provider == null ) {
541
544
try {
542
545
provider = clazz .getConstructor ().newInstance ();
546
+ ourLog .info ("registering custom provider as pojo: {}" , className );
543
547
} catch (Exception e ) {
544
548
throw new ConfigurationException ("Unable to instantiate provider class : " + className , e );
545
549
}
0 commit comments