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})
public class JpaConfig
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.IConsentContextServicesca.uhn.fhir.rest.api.server.storage.IDeleteExpungeJobSubmitterexpungeOperation(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.IGraphQLStorageServiceshelperSvc(IDeleteExpungeSvc<JpaPid> theDeleteExpungeSvc) hibernateJpaDialect(ca.uhn.fhir.context.FhirContext theFhirContext) instanceReindexProvider(IInstanceReindexService theInstanceReindexService) ca.uhn.fhir.interceptor.api.IInterceptorServiceca.uhn.fhir.mdm.svc.MdmLinkExpandSvcmemoryCacheService(JpaStorageSettings theStorageSettings) newComboNonUniqueSearchParameterPredicateBuilder(SearchQueryBuilder theSearchSqlBuilder) newComboUniqueSearchParameterPredicateBuilder(SearchQueryBuilder theSearchSqlBuilder) newCoordsPredicateBuilder(SearchQueryBuilder theSearchBuilder) newDatePredicateBuilder(SearchQueryBuilder theSearchBuilder) newForcedIdPredicateBuilder(SearchQueryBuilder theSearchBuilder) newNumberPredicateBuilder(SearchQueryBuilder theSearchBuilder) newPersistedJpaBundleProvider(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Search theSearch) newPersistedJpaBundleProvider(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theUuid) newPersistedJpaSearchFirstPageBundleProvider(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Search theSearch, SearchTask theSearchTask, ISearchBuilder theSearchBuilder, RequestPartitionId theRequestPartitionId) newPersistedJpaSearchFirstPageBundleProvider(String theResourceType, Long theResourceId, Date theRangeStartInclusive, Date theRangeEndInclusive) 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.RequestTenantPartitionInterceptorresourceReindexer(ca.uhn.fhir.context.FhirContext theFhirContext) resourceSearchUrlSvc(PersistenceContextProvider thePersistenceContextProvider, IResourceSearchUrlDao theResourceSearchUrlDao, MatchUrlService theMatchUrlService, ca.uhn.fhir.context.FhirContext theFhirContext) ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationInterceptorresponseTerminologyTranslationInterceptor(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport, ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvc theResponseTerminologyTranslationSvc) ca.uhn.fhir.rest.server.interceptor.ResponseTerminologyTranslationSvcresponseTerminologyTranslationSvc(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) safeDeleter(DaoRegistry theDaoRegistry, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, HapiTransactionService hapiTransactionService) org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBeanca.uhn.fhir.jpa.sched.AutowiringSpringBeanJobFactoryca.uhn.fhir.jpa.model.sched.ISchedulerServicesearchParameterDaoValidator(ca.uhn.fhir.context.FhirContext theFhirContext, JpaStorageSettings theStorageSettings, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) searchStrategyFactory(IFulltextSearchSvc theFulltextSvc) searchUrlJobMaintenanceSvc(ResourceSearchUrlSvc theResourceSearchUrlSvc) org.springframework.core.task.AsyncTaskExecutororg.springframework.scheduling.TaskSchedulerorg.hl7.fhir.common.hapi.validation.support.UnknownCodeSystemWarningValidationSupportunknownCodeSystemWarningValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext) valueSetOperationProvider(ca.uhn.fhir.context.FhirContext theFhirContext) ca.uhn.hapi.converters.canonical.VersionCanonicalizerversionCanonicalizer(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:
-
SEARCH_BUILDER
- 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() -
mdmLinkExpandSvc
-
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) -
newPersistedJpaBundleProvider
@Bean(name="PersistedJpaBundleProvider_BySearch") @Scope("prototype") public PersistedJpaBundleProvider newPersistedJpaBundleProvider(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, Search theSearch, 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) -
newForcedIdPredicateBuilder
@Bean @Scope("prototype") public ForcedIdPredicateBuilder newForcedIdPredicateBuilder(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) -
newPersistedJpaSearchFirstPageBundleProvider
@Bean(name="HistoryBuilder") @Scope("prototype") public HistoryBuilder newPersistedJpaSearchFirstPageBundleProvider(@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
-
termCodeSystemStorageSvc
-
termReindexingSvc
-
baseObservationLastNIndexpersistSvc
-
mdmLinkDao
-
persistenceContextProvider
-
resourceSearchUrlSvc
@Bean public ResourceSearchUrlSvc resourceSearchUrlSvc(PersistenceContextProvider thePersistenceContextProvider, IResourceSearchUrlDao theResourceSearchUrlDao, MatchUrlService theMatchUrlService, ca.uhn.fhir.context.FhirContext theFhirContext) -
searchUrlJobMaintenanceSvc
@Bean public ISearchUrlJobMaintenanceSvc searchUrlJobMaintenanceSvc(ResourceSearchUrlSvc theResourceSearchUrlSvc) -
helperSvc
-