Class BaSyxServerRecipe
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.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.ServerRecipeImplements the server recipe for BaSyx.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Constructor Description BaSyxServerRecipe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.iip_ecosphere.platform.support.aas.AasServercreateAasServer(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.AasServercreateAasServer(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.ServercreateRegistryServer(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.ServercreateRegistryServer(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.PersistenceTypetoPersistenceType(java.lang.String type)protected org.eclipse.basyx.components.registry.configuration.RegistryBackendtranslateForRegistry(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.AASServerBackendtranslateForServer(de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType type)Translates the given persistence type to a BaSyx server backend.
-
-
-
Method Detail
-
toPersistenceType
public de.iip_ecosphere.platform.support.aas.ServerRecipe.PersistenceType toPersistenceType(java.lang.String type)
- Specified by:
toPersistenceTypein interfacede.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:
createAasServerin interfacede.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:
createAasServerin interfacede.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:
createRegistryServerin interfacede.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:
createRegistryServerin interfacede.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- iftypeis 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- iftypeis not known/supported
-
-