Class PlatformInstantiator
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.PlatformInstantiator
-
public class PlatformInstantiator extends java.lang.ObjectInstantiates the platform using EASy-Producer.- Author:
- Holger Eichelberger, SSE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classPlatformInstantiator.FunctionLevelTraceFilterTracing of language units and function executions but not deeper.static classPlatformInstantiator.InstantiationConfigurerConfigures the instantiation.static classPlatformInstantiator.NonCleaningInstantiationConfigurerAn instantiation configurer that does not clean the output folder.
-
Field Summary
Fields Modifier and Type Field Description private static intexitCodestatic java.lang.StringKEY_PROPERTY_APPSstatic java.lang.StringKEY_PROPERTY_MVNARGSstatic java.lang.StringKEY_PROPERTY_TRACING
-
Constructor Summary
Constructors Constructor Description PlatformInstantiator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinstantiate(PlatformInstantiator.InstantiationConfigurer configurer)Performs the platform instantiation.static voidmain(java.lang.String[] args)Performs the platform instantiation.static intmainImpl(java.lang.String[] args)Main functionality without returning exit code/output of help for re-use.
-
-
-
Field Detail
-
KEY_PROPERTY_TRACING
public static final java.lang.String KEY_PROPERTY_TRACING
- See Also:
- Constant Field Values
-
KEY_PROPERTY_MVNARGS
public static final java.lang.String KEY_PROPERTY_MVNARGS
- See Also:
- Constant Field Values
-
KEY_PROPERTY_APPS
public static final java.lang.String KEY_PROPERTY_APPS
- See Also:
- Constant Field Values
-
exitCode
private static int exitCode
-
-
Method Detail
-
instantiate
public static void instantiate(PlatformInstantiator.InstantiationConfigurer configurer) throws java.util.concurrent.ExecutionException
Performs the platform instantiation.- Parameters:
configurer- the configurer- Throws:
java.util.concurrent.ExecutionException- in case that the instantiation fails and the configurer re-throws the exception
-
main
public static void main(java.lang.String[] args) throws java.util.concurrent.ExecutionExceptionPerforms the platform instantiation.- Parameters:
args- command line arguments- Throws:
java.util.concurrent.ExecutionException- in case that the VIL instantiation fails, shall not occur here as handled by defaultPlatformInstantiator.InstantiationConfigurer
-
mainImpl
public static int mainImpl(java.lang.String[] args) throws java.util.concurrent.ExecutionExceptionMain functionality without returning exit code/output of help for re-use. Could be with explicit parameters...- Parameters:
args- command line arguments- Returns:
- the exit code
- Throws:
java.util.concurrent.ExecutionException- in case that the VIL instantiation fails, shall not occur here as handled by defaultPlatformInstantiator.InstantiationConfigurer
-
-