@@ -487,6 +487,7 @@ private void registerCustomInterceptors(
487
487
Object interceptor = null ;
488
488
try {
489
489
interceptor = theAppContext .getBean (clazz );
490
+ ourLog .info ("registering custom interceptor as bean: {}" , className );
490
491
} catch (NoSuchBeanDefinitionException ex ) {
491
492
// no op - if it's not a bean we'll try to create it
492
493
}
@@ -495,6 +496,7 @@ private void registerCustomInterceptors(
495
496
if (interceptor == null ) {
496
497
try {
497
498
interceptor = clazz .getConstructor ().newInstance ();
499
+ ourLog .info ("registering custom interceptor as pojo: {}" , className );
498
500
} catch (Exception e ) {
499
501
throw new ConfigurationException ("Unable to instantiate interceptor class : " + className , e );
500
502
}
@@ -526,6 +528,7 @@ private void registerCustomProviders(
526
528
Object provider = null ;
527
529
try {
528
530
provider = theAppContext .getBean (clazz );
531
+ ourLog .info ("registering custom provider as bean: {}" , className );
529
532
} catch (NoSuchBeanDefinitionException ex ) {
530
533
// no op - if it's not a bean we'll try to create it
531
534
}
@@ -534,6 +537,7 @@ private void registerCustomProviders(
534
537
if (provider == null ) {
535
538
try {
536
539
provider = clazz .getConstructor ().newInstance ();
540
+ ourLog .info ("registering custom provider as pojo: {}" , className );
537
541
} catch (Exception e ) {
538
542
throw new ConfigurationException ("Unable to instantiate provider class : " + className , e );
539
543
}
0 commit comments