public static void startServices ( IServiceManager manager ) { final List < Service > otherServices = new ArrayList <> ( ) ; final List < Service > infraServices = new ArrayList <> ( ) ; final LinkedList < DependencyNode > serviceQueue = new LinkedList <> ( ) ; final Accessors accessors = new StartingPhaseAccessors ( ) ; // Build the dependency graph buildDependencyGraph ( manager , serviceQueue , infraServices , otherServices , accessors ) ; // Launch the services runDependencyGraph ( serviceQueue , infraServices , otherServices , accessors ) ; manager . awaitHealthy ( ) ; }
Start the services associated to the given service manager .