public static void main(final String[] args)
    {
        loadPropertiesFiles(args);

        try (ClusteredServiceContainer container = launch())
        {
            container.context().shutdownSignalBarrier().await();

            System.out.println("Shutdown ClusteredServiceContainer...");
        }
    }
public static void main(final String[] args)
    {
        loadPropertiesFiles(args);

        try (ClusteredServiceContainer container = launch())
        {
            container.context().shutdownSignalBarrier().await();

            System.out.println("Shutdown ClusteredServiceContainer...");
        }
    }
public static void main ( final String [ ] args ) { loadPropertiesFiles ( args ) ; try ( ClusteredServiceContainer container = launch ( ) ) { container . context ( ) . shutdownSignalBarrier ( ) . await ( ) ; System . out . println ( "Shutdown ClusteredServiceContainer..." ) ; } }
Launch the clustered service container and await a shutdown signal.

@param args command line argument which is a list for properties files as URLs or filenames.
Launch the clustered service container and await a shutdown signal .