@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load( KieServerApplicationComponentsService.class ); List<Object> appComponentsList = new ArrayList<Object>(); Object[] services = {context}; for ( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll( appComponentsService.getAppComponents( EXTENSION_NAME, type, services ) ); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); List<Object> appComponentsList = new ArrayList<Object>(); Object [] services = { batchCommandService }; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); List<Object> appComponentsList = new ArrayList<>(); Object[] services = {solverServiceBase, registry}; for (KieServerApplicationComponentsService appComponentsService : appComponentsServices) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load( KieServerApplicationComponentsService.class ); List<Object> appComponentsList = new ArrayList<Object>(); Object[] services = {modelEvaluatorServiceBase, registry}; for ( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll( appComponentsService.getAppComponents( EXTENSION_NAME, type, services ) ); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); List<Object> appComponentsList = new ArrayList<Object>(); Object[] services = { rulesExecutionService, registry }; for (KieServerApplicationComponentsService appComponentsService : appComponentsServices) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load( KieServerApplicationComponentsService.class ); List<Object> appComponentsList = new ArrayList<Object>(); if (!initialized) { return appComponentsList; } Object[] services = {processInstanceSearchServiceBase, taskSearchServiceBase, context}; for ( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll( appComponentsService.getAppComponents( EXTENSION_NAME, type, services ) ); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); List<Object> appComponentsList = new ArrayList<Object>(); Object [] services = { batchCommandService, rulesExecutionService, registry }; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { List<Object> appComponentsList = new ArrayList<Object>(); if (!initialized) { return appComponentsList; } ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); Object [] services = { formServiceBase, imageServiceBase, formRendererBase, registry }; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { List<Object> appComponentsList = new ArrayList<Object>(); if (!initialized) { return appComponentsList; } ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); Object [] services = { caseManagementServiceBase, caseManagementRuntimeDataService, caseAdminServiceBase, registry }; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
@Override public List<Object> getAppComponents(SupportedTransports type) { ServiceLoader<KieServerApplicationComponentsService> appComponentsServices = ServiceLoader.load(KieServerApplicationComponentsService.class); List<Object> appComponentsList = new ArrayList<Object>(); Object [] services = { deploymentService, definitionService, processService, userTaskService, runtimeDataService, executorService, formManagerService, queryService, processInstanceMigrationService, processInstanceAdminService, userTaskAdminService, context }; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents(EXTENSION_NAME, type, services)); } return appComponentsList; }
}; for( KieServerApplicationComponentsService appComponentsService : appComponentsServices ) { appComponentsList.addAll(appComponentsService.getAppComponents( JbpmKieServerExtension.EXTENSION_NAME, SupportedTransports.REST, services));