- Changing method accessibility from default to public to allow method overwriting. (#6172)

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
This commit is contained in:
Etienne Poirier 2024-07-31 13:59:52 -04:00 committed by GitHub
parent c32784ed51
commit 76fab69e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ import org.springframework.context.annotation.Lazy;
@Import(SubscriptionConfig.class) @Import(SubscriptionConfig.class)
public class SubscriptionTopicConfig { public class SubscriptionTopicConfig {
@Bean @Bean
SubscriptionTopicMatchingSubscriber subscriptionTopicMatchingSubscriber( public SubscriptionTopicMatchingSubscriber subscriptionTopicMatchingSubscriber(
FhirContext theFhirContext, MemoryCacheService memoryCacheService) { FhirContext theFhirContext, MemoryCacheService memoryCacheService) {
switch (theFhirContext.getVersion().getVersion()) { switch (theFhirContext.getVersion().getVersion()) {
case R5: case R5:
@ -47,19 +47,19 @@ public class SubscriptionTopicConfig {
@Bean @Bean
@Lazy @Lazy
SubscriptionTopicRegistry subscriptionTopicRegistry() { public SubscriptionTopicRegistry subscriptionTopicRegistry() {
return new SubscriptionTopicRegistry(); return new SubscriptionTopicRegistry();
} }
@Bean @Bean
@Lazy @Lazy
SubscriptionTopicSupport subscriptionTopicSupport( public SubscriptionTopicSupport subscriptionTopicSupport(
FhirContext theFhirContext, DaoRegistry theDaoRegistry, SearchParamMatcher theSearchParamMatcher) { FhirContext theFhirContext, DaoRegistry theDaoRegistry, SearchParamMatcher theSearchParamMatcher) {
return new SubscriptionTopicSupport(theFhirContext, theDaoRegistry, theSearchParamMatcher); return new SubscriptionTopicSupport(theFhirContext, theDaoRegistry, theSearchParamMatcher);
} }
@Bean @Bean
SubscriptionTopicLoader subscriptionTopicLoader(FhirContext theFhirContext) { public SubscriptionTopicLoader subscriptionTopicLoader(FhirContext theFhirContext) {
switch (theFhirContext.getVersion().getVersion()) { switch (theFhirContext.getVersion().getVersion()) {
case R5: case R5:
case R4B: case R4B:
@ -70,7 +70,7 @@ public class SubscriptionTopicConfig {
} }
@Bean @Bean
SubscriptionTopicRegisteringSubscriber subscriptionTopicRegisteringSubscriber(FhirContext theFhirContext) { public SubscriptionTopicRegisteringSubscriber subscriptionTopicRegisteringSubscriber(FhirContext theFhirContext) {
switch (theFhirContext.getVersion().getVersion()) { switch (theFhirContext.getVersion().getVersion()) {
case R5: case R5:
case R4B: case R4B:
@ -81,7 +81,7 @@ public class SubscriptionTopicConfig {
} }
@Bean @Bean
SubscriptionTopicValidatingInterceptor subscriptionTopicValidatingInterceptor( public SubscriptionTopicValidatingInterceptor subscriptionTopicValidatingInterceptor(
FhirContext theFhirContext, SubscriptionQueryValidator theSubscriptionQueryValidator) { FhirContext theFhirContext, SubscriptionQueryValidator theSubscriptionQueryValidator) {
switch (theFhirContext.getVersion().getVersion()) { switch (theFhirContext.getVersion().getVersion()) {
case R5: case R5: