Class OntologyServiceFactory<T extends OntologyService>

  • 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 Detail

      • 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.