public class AbstractAasLifecycleDescriptor extends Object implements de.iip_ecosphere.platform.support.LifecycleDescriptor
| Modifier and Type | Field and Description |
|---|---|
private de.iip_ecosphere.platform.support.Server |
aasServer |
private de.iip_ecosphere.platform.support.Server |
implServer |
private String |
name |
static String |
PARAM_IIP_PORT
Explicitly determine the AAS implementation server port.
|
private Supplier<AasPartRegistry.AasSetup> |
setupSupplier |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAasLifecycleDescriptor(String name,
Supplier<AasPartRegistry.AasSetup> setupSupplier)
Creates a descriptor instance.
|
| Modifier and Type | Method and Description |
|---|---|
Thread |
getShutdownHook() |
int |
priority() |
void |
shutdown() |
void |
startup(String[] args) |
public static final String PARAM_IIP_PORT
private String name
private Supplier<AasPartRegistry.AasSetup> setupSupplier
private de.iip_ecosphere.platform.support.Server implServer
private de.iip_ecosphere.platform.support.Server aasServer
protected AbstractAasLifecycleDescriptor(String name, Supplier<AasPartRegistry.AasSetup> setupSupplier)
name - the name of the AAS to build for loggingsetupSupplier - the AasPartRegistry.AasSetup supplierpublic void startup(String[] args)
startup in interface de.iip_ecosphere.platform.support.LifecycleDescriptorpublic void shutdown()
shutdown in interface de.iip_ecosphere.platform.support.LifecycleDescriptorpublic Thread getShutdownHook()
getShutdownHook in interface de.iip_ecosphere.platform.support.LifecycleDescriptorpublic int priority()
priority in interface de.iip_ecosphere.platform.support.LifecycleDescriptorCopyright © 2021. All rights reserved.