Class OntologyConfig


  • @Configuration
    @Profile("!test")
    public class OntologyConfig
    extends Object
    • Constructor Detail

      • OntologyConfig

        public OntologyConfig()
    • Method Detail

      • ontologyTaskExecutor

        @Bean
        public org.springframework.core.task.TaskExecutor ontologyTaskExecutor​(@Value("${gemma.ontology.loader.corePoolSize}")
                                                                               int corePoolSize)
        Executor used for loading ontologies in background.
      • unifiedOntologyService

        @Bean
        public OntologyServiceFactory<?> unifiedOntologyService​(@Value("${gemma.ontology.unified.enabled}")
                                                                boolean enabled,
                                                                @Value("${gemma.ontology.unified.tdb.dir}")
                                                                Path tdbDir,
                                                                @Qualifier("ontologyTaskExecutor")
                                                                org.springframework.core.task.TaskExecutor taskExecutor)
        This ontology encompasses all the ontologies declared below.
      • gemmaOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<GemmaOntologyService> gemmaOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                        org.springframework.core.task.TaskExecutor taskExecutor)
      • experimentalFactorOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<ExperimentalFactorOntologyService> experimentalFactorOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                                  org.springframework.core.task.TaskExecutor taskExecutor)
      • obiService

        @Bean
        public org.springframework.beans.factory.FactoryBean<ObiService> obiService​(@Qualifier("ontologyTaskExecutor")
                                                                                    org.springframework.core.task.TaskExecutor taskExecutor)
      • cellTypeOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<CellTypeOntologyService> cellTypeOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                              org.springframework.core.task.TaskExecutor taskExecutor)
      • chebiOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<ChebiOntologyService> chebiOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                        org.springframework.core.task.TaskExecutor taskExecutor)
      • mammalianPhenotypeOntologyServiceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<MammalianPhenotypeOntologyService> mammalianPhenotypeOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                                                 org.springframework.core.task.TaskExecutor taskExecutor)
      • humanPhenotypeOntologyServiceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<HumanPhenotypeOntologyService> humanPhenotypeOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                                         org.springframework.core.task.TaskExecutor taskExecutor)
      • mouseDevelopmentOntologyServiceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<MouseDevelopmentOntologyService> mouseDevelopmentOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                                             org.springframework.core.task.TaskExecutor taskExecutor)
      • humanDevelopmentOntologyServiceOntologyService

        @Bean
        @Deprecated
        public org.springframework.beans.factory.FactoryBean<HumanDevelopmentOntologyService> humanDevelopmentOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                                             org.springframework.core.task.TaskExecutor taskExecutor)
        Deprecated.
      • sequenceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<SequenceOntologyService> sequenceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                              org.springframework.core.task.TaskExecutor taskExecutor)
      • cellLineOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<CellLineOntologyService> cellLineOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                              org.springframework.core.task.TaskExecutor taskExecutor)
      • uberonOntologyServiceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<UberonOntologyService> uberonOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                         org.springframework.core.task.TaskExecutor taskExecutor)
      • patoOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<PatoOntologyService> patoOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                      org.springframework.core.task.TaskExecutor taskExecutor)
      • mondoOntologyServiceOntologyService

        @Bean
        public org.springframework.beans.factory.FactoryBean<MondoOntologyService> mondoOntologyServiceOntologyService​(@Qualifier("ontologyTaskExecutor")
                                                                                                                       org.springframework.core.task.TaskExecutor taskExecutor)