Class BaSyxServerRecipe

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.ServerRecipe

    public class BaSyxServerRecipe
    extends java.lang.Object
    implements de.iip_ecosphere.platform.support.aas.ServerRecipe
    Implements the server recipe for BaSyx.
    Author:
    Holger Eichelberger, SSE
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.ServerRecipe

        de.iip_ecosphere.platform.support.aas.ServerRecipe.LocalPersistenceType, de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.support.aas.AasServer createAasServer​(de.iip_ecosphere.platform.support.Endpoint serverEndpoint, de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence, de.iip_ecosphere.platform.support.Endpoint registryEndpoint, de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore, java.lang.String... options)  
      de.iip_ecosphere.platform.support.aas.AasServer createAasServer​(de.iip_ecosphere.platform.support.Endpoint serverEndpoint, de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence, de.iip_ecosphere.platform.support.Endpoint registryEndpoint, java.lang.String... options)  
      de.iip_ecosphere.platform.support.Server createRegistryServer​(de.iip_ecosphere.platform.support.Endpoint endpoint, de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence, de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore, java.lang.String... options)  
      de.iip_ecosphere.platform.support.Server createRegistryServer​(de.iip_ecosphere.platform.support.Endpoint endpoint, de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence, java.lang.String... options)  
      de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType toPersistenceType​(java.lang.String type)  
      protected org.eclipse.basyx.components.registry.configuration.RegistryBackend translateForRegistry​(de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType type)
      Translates the given persistence type to a BaSyx registry backend.
      protected org.eclipse.basyx.components.aas.configuration.AASServerBackend translateForServer​(de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType type)
      Translates the given persistence type to a BaSyx server backend.
      • Methods inherited from class java.lang.Object

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

      • BaSyxServerRecipe

        public BaSyxServerRecipe()
    • Method Detail

      • toPersistenceType

        public de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType toPersistenceType​(java.lang.String type)
        Specified by:
        toPersistenceType in interface de.iip_ecosphere.platform.support.aas.ServerRecipe
      • createAasServer

        public de.iip_ecosphere.platform.support.aas.AasServer createAasServer​(de.iip_ecosphere.platform.support.Endpoint serverEndpoint,
                                                                               de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence,
                                                                               de.iip_ecosphere.platform.support.Endpoint registryEndpoint,
                                                                               java.lang.String... options)
        Specified by:
        createAasServer in interface de.iip_ecosphere.platform.support.aas.ServerRecipe
      • createAasServer

        public de.iip_ecosphere.platform.support.aas.AasServer createAasServer​(de.iip_ecosphere.platform.support.Endpoint serverEndpoint,
                                                                               de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence,
                                                                               de.iip_ecosphere.platform.support.Endpoint registryEndpoint,
                                                                               de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore,
                                                                               java.lang.String... options)
        Specified by:
        createAasServer in interface de.iip_ecosphere.platform.support.aas.ServerRecipe
      • createRegistryServer

        public de.iip_ecosphere.platform.support.Server createRegistryServer​(de.iip_ecosphere.platform.support.Endpoint endpoint,
                                                                             de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence,
                                                                             java.lang.String... options)
        Specified by:
        createRegistryServer in interface de.iip_ecosphere.platform.support.aas.ServerRecipe
      • createRegistryServer

        public de.iip_ecosphere.platform.support.Server createRegistryServer​(de.iip_ecosphere.platform.support.Endpoint endpoint,
                                                                             de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType persistence,
                                                                             de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore,
                                                                             java.lang.String... options)
        Specified by:
        createRegistryServer in interface de.iip_ecosphere.platform.support.aas.ServerRecipe
      • translateForRegistry

        protected org.eclipse.basyx.components.registry.configuration.RegistryBackend translateForRegistry​(de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType type)
        Translates the given persistence type to a BaSyx registry backend. May be overridden by refining recipes.
        Parameters:
        type - the persistence type
        Returns:
        the BaSyx registry backend
        Throws:
        java.lang.UnsupportedOperationException - if type is not known/supported
      • translateForServer

        protected org.eclipse.basyx.components.aas.configuration.AASServerBackend translateForServer​(de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType type)
        Translates the given persistence type to a BaSyx server backend. May be overridden by refining recipes.
        Parameters:
        type - the persistence type
        Returns:
        the BaSyx server backend
        Throws:
        java.lang.UnsupportedOperationException - if type is not known/supported