ServiceProfile.load(properties, PREFIX_CORE, CoreProfile.class, context); ServiceProfile<ExecutionMonitorProvider> monitors = ServiceProfile.load(properties, PREFIX_MONITOR, ExecutionMonitorProvider.class, context); ServiceProfile<ExecutionLockProvider> locks = ServiceProfile.load(properties, PREFIX_LOCK, ExecutionLockProvider.class, context); ServiceProfile<JobScheduler> scheduler = ServiceProfile.load(properties, PREFIX_SCHEDULER, JobScheduler.class, context); ServiceProfile<HadoopScriptHandler> hadoopHandler = ServiceProfile.load(properties, PREFIX_HADOOP, HadoopScriptHandler.class, context); List<ServiceProfile<CommandScriptHandler>> commandHandlers = new ArrayList<>(); for (String commandHandlerPrefix : PropertiesUtil.getChildKeys(properties, GROUP_PREFIX_COMMAND, ".")) { ServiceProfile<CommandScriptHandler> profile = ServiceProfile.load(properties, commandHandlerPrefix, CommandScriptHandler.class, context); commandHandlers.add(profile);
throw new IllegalArgumentException("classLoader must not be null"); //$NON-NLS-1$ return load(properties, prefix, serviceBaseClass, ProfileContext.system(classLoader));
ServiceProfile<? extends ExecutionScriptHandler<T>> subProfile; try { subProfile = ServiceProfile.load( properties, subPrefix,