Package org.openehealth.ipf.boot.fhir
Class IpfFhirAutoConfiguration
java.lang.Object
org.openehealth.ipf.boot.fhir.IpfFhirAutoConfiguration
@Configuration
@AutoConfigureAfter(IpfAtnaAutoConfiguration.class)
@EnableConfigurationProperties(IpfFhirConfigurationProperties.class)
public class IpfFhirAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter>
fhirContext
(FhirContextCustomizer fhirContextCustomizer) fhirServlet
(FhirContext fhirContext, ObjectProvider<IPagingProvider> pagingProvider, IServerAddressStrategy serverAddressStrategy, INarrativeGenerator narrativeGenerator) org.springframework.boot.web.servlet.ServletRegistrationBean<IpfFhirServlet>
fhirServletRegistration
(IpfFhirServlet camelFhirServlet) namingSystemService
(FhirContext fhirContext) pagingProvider
(CacheManager cacheManager, FhirContext fhirContext) serverConformanceProvider
(RestfulServer restfulServer)
-
Constructor Details
-
IpfFhirAutoConfiguration
-
-
Method Details
-
fhirContext
-
fhirContextCustomizer
@Bean @ConditionalOnMissingBean(FhirContextCustomizer.class) public FhirContextCustomizer fhirContextCustomizer() -
namingSystemService
@Bean @ConditionalOnMissingBean(NamingSystemService.class) public NamingSystemService namingSystemService(FhirContext fhirContext) throws IOException - Throws:
IOException
-
fhirServletRegistration
@Bean @ConditionalOnMissingBean(name="fhirServletRegistration") @ConditionalOnWebApplication public org.springframework.boot.web.servlet.ServletRegistrationBean<IpfFhirServlet> fhirServletRegistration(IpfFhirServlet camelFhirServlet) -
serverConformanceProvider
@Bean @ConditionalOnMissingBean(ca.uhn.fhir.rest.server.IServerConformanceProvider.class) public IServerConformanceProvider<IBaseConformance> serverConformanceProvider(RestfulServer restfulServer) -
serverAddressStrategy
@Bean @ConditionalOnMissingBean(ca.uhn.fhir.rest.server.IServerAddressStrategy.class) public IServerAddressStrategy serverAddressStrategy() -
narrativeGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.fhir.narrative.INarrativeGenerator.class) public INarrativeGenerator narrativeGenerator() -
pagingProvider
@Bean @ConditionalOnMissingBean(ca.uhn.fhir.rest.server.IPagingProvider.class) @ConditionalOnProperty(value="ipf.fhir.caching", havingValue="true") public IPagingProvider pagingProvider(CacheManager cacheManager, FhirContext fhirContext) -
fhirServlet
@Bean @ConditionalOnMissingBean(IpfFhirServlet.class) @ConditionalOnWebApplication public IpfFhirServlet fhirServlet(FhirContext fhirContext, ObjectProvider<IPagingProvider> pagingProvider, IServerAddressStrategy serverAddressStrategy, INarrativeGenerator narrativeGenerator) -
corsFilterRegistration
@Bean @ConditionalOnMissingBean(name="corsFilterRegistration") @ConditionalOnWebApplication public org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> corsFilterRegistration()
-