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 .