complete config for cr

This commit is contained in:
justin.mckelvy
2023-06-13 09:14:37 -06:00
parent 27e250f930
commit f7a4d24ab2

View File

@@ -1,26 +0,0 @@
package ca.uhn.fhir.jpa.starter.cr;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.rest.server.provider.ResourceProviderFactory;
@Configuration
@Conditional(CrConfigCondition.class)
public class CrProviderConfig {
@Bean
CrOperationFactory crOperationFactory() {
return new CrOperationFactory();
}
@Bean
CrOperationLoader crOperationLoader(FhirContext theFhirContext, ResourceProviderFactory theResourceProviderFactory,
CrOperationFactory theCrlProviderFactory) {
return new CrOperationLoader(theFhirContext, theResourceProviderFactory, theCrlProviderFactory);
}
}