protected List < ManagedModule > createAndStartModules ( ) { final List < ManagedModule > managedModuleInstances = new ArrayList <> ( ) ; // create and start each managed module for ( final Class < ? extends ManagedModule > module : managedModules ) { final ManagedModule mm = injector . getInstance ( module ) ; managedModuleInstances . add ( mm ) ; mm . start ( ) ; } return managedModuleInstances ; }
Creates and starts all the managed modules .