java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.conceptRepository.ConceptRepositorySpringApp

@SpringBootApplication @Configuration @ComponentScan(basePackages="org.eclipse.digitaltwin.basyx.conceptdescriptionrepository", excludeFilters=) @Component public class ConceptRepositorySpringApp extends Object
Spring application for starting an concept description repository service.
Author:
Monika Staciwa, SSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend
    Returns the AAS concept description backend.
    static org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.ConceptDescriptionRepositoryFactory
    getConceptDescFactory(org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend backend)
    Returns the concept description factory.
    static org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.ConceptDescriptionRepository
    getConceptDescRepository(org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend backend)
    Returns the concept description repository service.
    static void
    main(String[] args)
    Starts the application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConceptRepositorySpringApp

      public ConceptRepositorySpringApp()
  • Method Details

    • main

      public static void main(String[] args)
      Starts the application.
      Parameters:
      args - the command line arguments
    • backend

      @Bean public org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend backend()
      Returns the AAS concept description backend.
      Returns:
      the backend
    • getConceptDescFactory

      @Bean public static org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.ConceptDescriptionRepositoryFactory getConceptDescFactory(org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend backend)
      Returns the concept description factory.
      Parameters:
      backend - the backend, as injected by backend()
      Returns:
      the factory
    • getConceptDescRepository

      @Primary @Bean public static org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.ConceptDescriptionRepository getConceptDescRepository(org.eclipse.digitaltwin.basyx.conceptdescriptionrepository.backend.InMemoryConceptDescriptionBackend backend)
      Returns the concept description repository service.
      Parameters:
      backend - the backend, as injected by backend()
      Returns:
      the repository