Class ComponentStarter


  • public class ComponentStarter
    extends Object
    This class contains the main method starting a given Component.
    Author:
    Michael Röder (roeder@informatik.uni-leipzig.de)
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • component

        private static Component component
      • closed

        private static boolean closed
    • Constructor Detail

      • ComponentStarter

        public ComponentStarter()
    • Method Detail

      • main

        public static void main​(String[] args)
        This is the main method creating and starting an instance of a Component with the given class name.
        Parameters:
        args - The first element has to be the class name of the component.
      • closeComponent

        private static void closeComponent()
      • addShutdownHook

        private static void addShutdownHook()
      • forceTermination

        private static boolean forceTermination()