Class OntologyServiceFactory<T extends OntologyService>

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
ubic.gemma.core.ontology.providers.OntologyServiceFactory<T>
Type Parameters:
T - the type of ontology service this factory produces
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean

public class OntologyServiceFactory<T extends OntologyService> extends org.springframework.beans.factory.config.AbstractFactoryBean<T>
Factory bean for baseCode's OntologyService.
  • Constructor Details

    • OntologyServiceFactory

      public OntologyServiceFactory(Class<T> ontologyServiceClass)
      Create a factory for an ontology service class.

      The class must have a no-arg constructor.

    • OntologyServiceFactory

      public OntologyServiceFactory(T ontologyService)
      Create a factory for a pre-existing ontology service.
  • Method Details