Skip to content

Commit 92600c4

Browse files
committed
Merge remote-tracking branch 'origin/master' into rel_7_8_tracking
2 parents 1f5f655 + cc6b71d commit 92600c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ private void registerCustomInterceptors(
487487
Object interceptor = null;
488488
try {
489489
interceptor = theAppContext.getBean(clazz);
490+
ourLog.info("registering custom interceptor as bean: {}", className);
490491
} catch (NoSuchBeanDefinitionException ex) {
491492
// no op - if it's not a bean we'll try to create it
492493
}
@@ -495,6 +496,7 @@ private void registerCustomInterceptors(
495496
if (interceptor == null) {
496497
try {
497498
interceptor = clazz.getConstructor().newInstance();
499+
ourLog.info("registering custom interceptor as pojo: {}", className);
498500
} catch (Exception e) {
499501
throw new ConfigurationException("Unable to instantiate interceptor class : " + className, e);
500502
}
@@ -526,6 +528,7 @@ private void registerCustomProviders(
526528
Object provider = null;
527529
try {
528530
provider = theAppContext.getBean(clazz);
531+
ourLog.info("registering custom provider as bean: {}", className);
529532
} catch (NoSuchBeanDefinitionException ex) {
530533
// no op - if it's not a bean we'll try to create it
531534
}
@@ -534,6 +537,7 @@ private void registerCustomProviders(
534537
if (provider == null) {
535538
try {
536539
provider = clazz.getConstructor().newInstance();
540+
ourLog.info("registering custom provider as pojo: {}", className);
537541
} catch (Exception e) {
538542
throw new ConfigurationException("Unable to instantiate provider class : " + className, e);
539543
}

0 commit comments

Comments
 (0)