Class PlatformInstantiator


  • public class PlatformInstantiator
    extends java.lang.Object
    Instantiates the platform using EASy-Producer.
    Author:
    Holger Eichelberger, SSE
    • 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
    • Constructor Detail

      • PlatformInstantiator

        public PlatformInstantiator()
    • 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.ExecutionException
        Performs 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 default PlatformInstantiator.InstantiationConfigurer
      • mainImpl

        public static int mainImpl​(java.lang.String[] args)
                            throws java.util.concurrent.ExecutionException
        Main 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 default PlatformInstantiator.InstantiationConfigurer