public EnvironmentDriver getDriver ( SystemImageType systemImageType ) throws ExecutorException { for ( EnvironmentDriver driver : availableDrivers ) { if ( driver . canRunImageType ( systemImageType ) ) return driver ; } throw new ExecutorException ( "No environment driver available for " + systemImageType + " system image type." ) ; }
Gets environment driver which can manage requested environment