java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.autodiscovery.AasAutodiscoverySpringApp

@SpringBootApplication @Configuration @ComponentScan(basePackages="org.eclipse.digitaltwin.basyx", excludeFilters=) @Component @Import(org.eclipse.digitaltwin.basyx.aasdiscoveryservice.http.AasDiscoveryServiceHTTPConfiguration.class) public class AasAutodiscoverySpringApp extends Object
Spring application for starting an in-memory Autodiscovery service.
Author:
Monika Staciwa, SSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.digitaltwin.basyx.aasdiscoveryservice.core.AasDiscoveryService
    aasDiscoveryService(org.eclipse.digitaltwin.basyx.aasdiscoveryservice.backend.inmemory.InMemoryAasDiscoveryDocumentBackend backend)
    Returns the AAS discovery service.
    org.eclipse.digitaltwin.basyx.aasdiscoveryservice.backend.inmemory.InMemoryAasDiscoveryDocumentBackend
    Returns the AAS discovery document backend.
    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

    • AasAutodiscoverySpringApp

      public AasAutodiscoverySpringApp()
  • 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.aasdiscoveryservice.backend.inmemory.InMemoryAasDiscoveryDocumentBackend backend()
      Returns the AAS discovery document backend.
      Returns:
      the backend
    • aasDiscoveryService

      @Bean public org.eclipse.digitaltwin.basyx.aasdiscoveryservice.core.AasDiscoveryService aasDiscoveryService(org.eclipse.digitaltwin.basyx.aasdiscoveryservice.backend.inmemory.InMemoryAasDiscoveryDocumentBackend backend)
      Returns the AAS discovery service.
      Parameters:
      backend - the backend, as injected by backend()
      Returns:
      the disovery service