Package ca.uhn.fhir.jpa.config
Class JpaConfig
java.lang.Object
ca.uhn.fhir.jpa.config.JpaConfig
@Configuration
@EnableJpaRepositories(basePackages="ca.uhn.fhir.jpa.dao.data",
repositoryFactoryBeanClass=org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean.class)
@Import({BeanPostProcessorConfig.class,TermCodeSystemConfig.class,ca.uhn.fhir.jpa.searchparam.config.SearchParamConfig.class,ValidationSupportConfig.class,Batch2SupportConfig.class,JpaBulkExportConfig.class,SearchConfig.class,PackageLoaderConfig.class,EnversAuditConfig.class,MdmJpaConfig.class})
public class JpaConfig
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBinaryStorageInterceptor
<? extends ca.uhn.fhir.model.api.IPrimitiveDatatype<byte[]>> binaryStorageInterceptor
(JpaStorageSettings theStorageSettings, ca.uhn.fhir.context.FhirContext theCtx) bulkDataExportJobSchedulingHelper
(DaoRegistry theDaoRegistry, org.springframework.transaction.PlatformTransactionManager theTxManager, JpaStorageSettings theStorageSettings, BulkExportHelperService theBulkExportHelperSvc, IJobPersistence theJpaJobPersistence) cascadingDeleteInterceptor
(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, ThreadSafeResourceDeleterSvc threadSafeResourceDeleterSvc) ca.uhn.fhir.rest.server.interceptor.consent.IConsentContextServices
ca.uhn.fhir.rest.api.server.storage.IDeleteExpungeJobSubmitter
expungeOperation
(String theResourceName, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theResourceId, ExpungeOptions theExpungeOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.utilities.graphql.IGraphQLStorageServices
hibernateJpaDialect
(ca.uhn.fhir.context.FhirContext theFhirContext) instanceReindexProvider
(IInstanceReindexService theInstanceReindexService) ca.uhn.fhir.interceptor.api.IInterceptorService
memoryCacheService
(JpaStorageSettings theStorageSettings) newComboNonUniqueSearchParameterPredicateBuilder
(SearchQueryBuilder theSearchSqlBuilder) newComboUniqueSearchParameterPredicateBuilder
(SearchQueryBuilder theSearchSqlBuilder) newCoordsPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newDatePredicateBuilder
(SearchQueryBuilder theSearchBuilder) newHistoryBuilder
(String theResourceType, Long theResourceId, Date theRangeStartInclusive, Date theRangeEndInclusive) newNumberPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newPersistedJpaBundleProvider
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theUuid) newPersistedJpaBundleProviderBySearch
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Search theSearch) newPersistedJpaSearchFirstPageBundleProvider
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, SearchTask theSearchTask, ISearchBuilder theSearchBuilder, RequestPartitionId theRequestPartitionId) newQuantityNormalizedPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newQuantityPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newResourceIdPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newResourceLinkPredicateBuilder
(QueryStack theQueryStack, SearchQueryBuilder theSearchBuilder, boolean theReversed) newResourceTablePredicateBuilder
(SearchQueryBuilder theSearchBuilder) newSearchParamPresentPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newSearchQueryExecutor
(GeneratedSql theGeneratedSql, Integer theMaxResultsToFetch) newSourcePredicateBuilder
(SearchQueryBuilder theSearchBuilder) newStringPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newTagPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newTokenPredicateBuilder
(SearchQueryBuilder theSearchBuilder) newUriPredicateBuilder
(SearchQueryBuilder theSearchBuilder) repositoryValidatingRuleBuilder
(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) ca.uhn.fhir.rest.server.interceptor.partition.RequestTenantPartitionInterceptor
resourceHistoryCalculator
(ca.uhn.fhir.context.FhirContext theFhirContext, HibernatePropertiesProvider theHibernatePropertiesProvider) resourceReindexer
(ca.uhn.fhir.context.FhirContext theFhirContext) resourceSearchUrlSvc
(PersistenceContextProvider thePersistenceContextProvider, IResourceSearchUrlDao theResourceSearchUrlDao, MatchUrlService theMatchUrlService, ca.uhn.fhir.context.FhirContext theFhirContext, PartitionSettings thePartitionSettings) ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationInterceptor
responseTerminologyTranslationInterceptor
(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport, ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvc theResponseTerminologyTranslationSvc) ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvc
responseTerminologyTranslationSvc
(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) safeDeleter
(DaoRegistry theDaoRegistry, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, HapiTransactionService hapiTransactionService) org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean
ca.uhn.fhir.jpa.sched.AutowiringSpringBeanJobFactory
ca.uhn.fhir.jpa.model.sched.ISchedulerService
searchParameterDaoValidator
(ca.uhn.fhir.context.FhirContext theFhirContext, JpaStorageSettings theStorageSettings, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) searchStrategyFactory
(IFulltextSearchSvc theFulltextSvc) searchUrlJobMaintenanceSvc
(ResourceSearchUrlSvc theResourceSearchUrlSvc) subscriptionMessagePersistence
(ca.uhn.fhir.context.FhirContext theFhirContext, IResourceModifiedDao theIResourceModifiedDao, DaoRegistry theDaoRegistry, HapiTransactionService theHapiTransactionService) tagDefinitionDao
(ITagDefinitionDao tagDefinitionDao, MemoryCacheService memoryCacheService) org.springframework.core.task.AsyncTaskExecutor
org.springframework.scheduling.TaskScheduler
org.hl7.fhir.common.hapi.validation.support.UnknownCodeSystemWarningValidationSupport
unknownCodeSystemWarningValidationSupport
(ca.uhn.fhir.context.FhirContext theFhirContext) valueSetConceptAccumulator
(TermValueSet theTermValueSet) valueSetOperationProvider
(ca.uhn.fhir.context.FhirContext theFhirContext) ca.uhn.hapi.converters.canonical.VersionCanonicalizer
versionCanonicalizer
(ca.uhn.fhir.context.FhirContext theFhirContext)
-
Field Details
-
JPA_VALIDATION_SUPPORT_CHAIN
- See Also:
-
JPA_VALIDATION_SUPPORT
- See Also:
-
TASK_EXECUTOR_NAME
- See Also:
-
GRAPHQL_PROVIDER_NAME
- See Also:
-
PERSISTED_JPA_BUNDLE_PROVIDER
- See Also:
-
PERSISTED_JPA_BUNDLE_PROVIDER_BY_SEARCH
- See Also:
-
PERSISTED_JPA_SEARCH_FIRST_PAGE_BUNDLE_PROVIDER
- See Also:
-
HISTORY_BUILDER
- See Also:
-
myStorageSettings
-
-
Constructor Details
-
JpaConfig
public JpaConfig()
-
-
Method Details
-
daoRegistry
-
cascadingDeleteInterceptor
@Lazy @Bean public CascadingDeleteInterceptor cascadingDeleteInterceptor(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, ThreadSafeResourceDeleterSvc threadSafeResourceDeleterSvc) -
ExternallyStoredResourceServiceRegistry
-
safeDeleter
@Lazy @Bean public ThreadSafeResourceDeleterSvc safeDeleter(DaoRegistry theDaoRegistry, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, HapiTransactionService hapiTransactionService) -
responseTerminologyTranslationInterceptor
@Lazy @Bean public ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationInterceptor responseTerminologyTranslationInterceptor(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport, ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvc theResponseTerminologyTranslationSvc) -
responseTerminologyTranslationSvc
@Bean public ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvc responseTerminologyTranslationSvc(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) -
graphqlStorageServices
-
scheduledExecutorService
@Bean public org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean scheduledExecutorService() -
subscriptionTriggeringProvider
@Bean(name="mySubscriptionTriggeringProvider") @Lazy public SubscriptionTriggeringProvider subscriptionTriggeringProvider() -
valueSetOperationProvider
@Bean @Lazy public ValueSetOperationProvider valueSetOperationProvider(ca.uhn.fhir.context.FhirContext theFhirContext) -
jpaStorageResourceParser
-
transactionProcessor
-
binaryAccessProvider
@Bean(name="myAttachmentBinaryAccessProvider") @Lazy public BinaryAccessProvider binaryAccessProvider() -
binaryStorageInterceptor
@Bean(name="myBinaryStorageInterceptor") @Lazy public BinaryStorageInterceptor<? extends ca.uhn.fhir.model.api.IPrimitiveDatatype<byte[]>> binaryStorageInterceptor(JpaStorageSettings theStorageSettings, ca.uhn.fhir.context.FhirContext theCtx) -
memoryCacheService
-
daoResourceLinkResolver
-
packageCacheManager
-
npmJpaValidationSupport
-
validationSettings
-
searchCacheSvc
-
searchResultCacheSvc
-
termConceptMappingSvc
-
taskScheduler
-
taskExecutor
@Bean(name="hapiJpaTaskExecutor") public org.springframework.core.task.AsyncTaskExecutor taskExecutor() -
resourceReindexingSvc
-
instanceReindexService
-
instanceReindexProvider
@Bean @Lazy public InstanceReindexProvider instanceReindexProvider(IInstanceReindexService theInstanceReindexService) -
resourceReindexer
-
hibernateJpaDialect
@Bean public HapiFhirHibernateJpaDialect hibernateJpaDialect(ca.uhn.fhir.context.FhirContext theFhirContext) -
overridePathBasedReferentialIntegrityForDeletesInterceptor
-
requestPartitionHelperService
-
hapiTransactionService
-
jpaInterceptorService
-
npmInstallerSvc
-
consentContextServices
@Bean public ca.uhn.fhir.rest.server.interceptor.consent.IConsentContextServices consentContextServices() -
diffProvider
-
partitionConfigSvc
-
partitionManagementProvider
-
requestTenantPartitionInterceptor
@Bean @Lazy public ca.uhn.fhir.rest.server.interceptor.partition.RequestTenantPartitionInterceptor requestTenantPartitionInterceptor() -
terminologyUploaderProvider
-
processMessageProvider
-
schedulerService
-
schedulerJobFactory
-
bulkDataExportJobSchedulingHelper
@Bean public IBulkDataExportJobSchedulingHelper bulkDataExportJobSchedulingHelper(DaoRegistry theDaoRegistry, org.springframework.transaction.PlatformTransactionManager theTxManager, JpaStorageSettings theStorageSettings, BulkExportHelperService theBulkExportHelperSvc, IJobPersistence theJpaJobPersistence) -
bulkDataExportProvider
-
deleteExpungeJobSubmitter
@Bean @Lazy public ca.uhn.fhir.rest.api.server.storage.IDeleteExpungeJobSubmitter deleteExpungeJobSubmitter() -
bulkDataImportSvc
-
persistedJpaBundleProviderFactory
-
searchBuilderFactory
-
sqlBuilderFactory
-
HibernatePropertiesProvider
-
historyBuilderFactory
-
resourceVersionSvc
-
newPersistedJpaBundleProvider
@Bean(name="PersistedJpaBundleProvider") @Scope("prototype") public PersistedJpaBundleProvider newPersistedJpaBundleProvider(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theUuid) -
newPersistedJpaBundleProviderBySearch
@Bean(name="PersistedJpaBundleProvider_BySearch") @Scope("prototype") public PersistedJpaBundleProvider newPersistedJpaBundleProviderBySearch(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Search theSearch) -
newPersistedJpaSearchFirstPageBundleProvider
@Bean(name="PersistedJpaSearchFirstPageBundleProvider") @Scope("prototype") public PersistedJpaSearchFirstPageBundleProvider newPersistedJpaSearchFirstPageBundleProvider(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, SearchTask theSearchTask, ISearchBuilder theSearchBuilder, RequestPartitionId theRequestPartitionId) -
repositoryValidatingRuleBuilder
@Bean(name="repositoryValidatingRuleBuilder") @Scope("prototype") public RepositoryValidatingRuleBuilder repositoryValidatingRuleBuilder(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) -
newComboUniqueSearchParameterPredicateBuilder
@Bean @Scope("prototype") public ComboUniqueSearchParameterPredicateBuilder newComboUniqueSearchParameterPredicateBuilder(SearchQueryBuilder theSearchSqlBuilder) -
newComboNonUniqueSearchParameterPredicateBuilder
@Bean @Scope("prototype") public ComboNonUniqueSearchParameterPredicateBuilder newComboNonUniqueSearchParameterPredicateBuilder(SearchQueryBuilder theSearchSqlBuilder) -
newCoordsPredicateBuilder
@Bean @Scope("prototype") public CoordsPredicateBuilder newCoordsPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newDatePredicateBuilder
@Bean @Scope("prototype") public DatePredicateBuilder newDatePredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newNumberPredicateBuilder
@Bean @Scope("prototype") public NumberPredicateBuilder newNumberPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newQuantityPredicateBuilder
@Bean @Scope("prototype") public QuantityPredicateBuilder newQuantityPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newQuantityNormalizedPredicateBuilder
@Bean @Scope("prototype") public QuantityNormalizedPredicateBuilder newQuantityNormalizedPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newResourceLinkPredicateBuilder
@Bean @Scope("prototype") public ResourceLinkPredicateBuilder newResourceLinkPredicateBuilder(QueryStack theQueryStack, SearchQueryBuilder theSearchBuilder, boolean theReversed) -
newResourceTablePredicateBuilder
@Bean @Scope("prototype") public ResourceTablePredicateBuilder newResourceTablePredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newTagPredicateBuilder
@Bean @Scope("prototype") public TagPredicateBuilder newTagPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newResourceIdPredicateBuilder
@Bean @Scope("prototype") public ResourceIdPredicateBuilder newResourceIdPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newSearchParamPresentPredicateBuilder
@Bean @Scope("prototype") public SearchParamPresentPredicateBuilder newSearchParamPresentPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newStringPredicateBuilder
@Bean @Scope("prototype") public StringPredicateBuilder newStringPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newTokenPredicateBuilder
@Bean @Scope("prototype") public TokenPredicateBuilder newTokenPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newSourcePredicateBuilder
@Bean @Scope("prototype") public SourcePredicateBuilder newSourcePredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newUriPredicateBuilder
@Bean @Scope("prototype") public UriPredicateBuilder newUriPredicateBuilder(SearchQueryBuilder theSearchBuilder) -
newSearchQueryExecutor
@Bean @Scope("prototype") public SearchQueryExecutor newSearchQueryExecutor(GeneratedSql theGeneratedSql, Integer theMaxResultsToFetch) -
newHistoryBuilder
@Bean(name="HistoryBuilder") @Scope("prototype") public HistoryBuilder newHistoryBuilder(@Nullable String theResourceType, @Nullable Long theResourceId, @Nullable Date theRangeStartInclusive, @Nullable Date theRangeEndInclusive) -
searchParamProvider
-
idHelperService
-
searchStrategyFactory
@Bean public SearchStrategyFactory searchStrategyFactory(@Autowired(required=false) IFulltextSearchSvc theFulltextSvc) -
deleteConflictService
-
deleteConflictFinderService
-
expungeService
-
expungeOperation
@Bean @Scope("prototype") public ExpungeOperation expungeOperation(String theResourceName, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theResourceId, ExpungeOptions theExpungeOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
expungeEverythingService
-
resourceExpungeService
-
searchParamPresenceService
-
searchParamWithInlineReferencesExtractor
-
matchResourceUrlService
-
daoSearchParamSynchronizer
-
resourceTableFKProvider
-
cacheWarmingSvc
-
indexLayoutStrategy
-
jpaResourceLoader
-
unknownCodeSystemWarningValidationSupport
@Bean public org.hl7.fhir.common.hapi.validation.support.UnknownCodeSystemWarningValidationSupport unknownCodeSystemWarningValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext) -
synchronousSearchSvc
-
versionCanonicalizer
@Bean public ca.uhn.hapi.converters.canonical.VersionCanonicalizer versionCanonicalizer(ca.uhn.fhir.context.FhirContext theFhirContext) -
searchParameterDaoValidator
@Bean public SearchParameterDaoValidator searchParameterDaoValidator(ca.uhn.fhir.context.FhirContext theFhirContext, JpaStorageSettings theStorageSettings, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) -
terminologyService
-
valueSetConceptAccumulatorFactory
-
valueSetConceptAccumulator
@Bean @Scope("prototype") public ValueSetConceptAccumulator valueSetConceptAccumulator(TermValueSet theTermValueSet) -
termCodeSystemStorageSvc
-
termReindexingSvc
-
persistenceContextProvider
-
resourceSearchUrlSvc
@Bean public ResourceSearchUrlSvc resourceSearchUrlSvc(PersistenceContextProvider thePersistenceContextProvider, IResourceSearchUrlDao theResourceSearchUrlDao, MatchUrlService theMatchUrlService, ca.uhn.fhir.context.FhirContext theFhirContext, PartitionSettings thePartitionSettings) -
searchUrlJobMaintenanceSvc
@Bean public ISearchUrlJobMaintenanceSvc searchUrlJobMaintenanceSvc(ResourceSearchUrlSvc theResourceSearchUrlSvc) -
subscriptionMessagePersistence
@Bean public IResourceModifiedMessagePersistenceSvc subscriptionMessagePersistence(ca.uhn.fhir.context.FhirContext theFhirContext, IResourceModifiedDao theIResourceModifiedDao, DaoRegistry theDaoRegistry, HapiTransactionService theHapiTransactionService) -
metaTagSorter
-
resourceHistoryCalculator
@Bean public ResourceHistoryCalculator resourceHistoryCalculator(ca.uhn.fhir.context.FhirContext theFhirContext, HibernatePropertiesProvider theHibernatePropertiesProvider) -
tagDefinitionDao
@Bean public CacheTagDefinitionDao tagDefinitionDao(ITagDefinitionDao tagDefinitionDao, MemoryCacheService memoryCacheService)
-