}
private List<ProcessingEngineInfo> createProcessingEngineInfos(){
ArrayList<ProcessingEngineInfo> result = new ArrayList<ProcessingEngineInfo>();
for (ProcessingEngineMXBean engine: engines.values()){
WorkflowRepositoryInfo workflowRepositoryInfo = new WorkflowRepositoryInfo();
WorkflowRepositoryMXBean workflowRepository = engine.getWorkflowRepository();
workflowRepositoryInfo.setName(workflowRepository.getDescription());
workflowRepositoryInfo.setSrcPaths(Collections.<String>emptyList());
workflowRepositoryInfo.setWorkflowRepositorTyp(WorkflowRepositorTyp.UNKOWN);
if (workflowRepository instanceof FileBasedWorkflowRepositoryMXBean){
workflowRepositoryInfo.setWorkflowRepositorTyp(WorkflowRepositorTyp.FILE);
FileBasedWorkflowRepositoryMXBean fileBasedRepo = (FileBasedWorkflowRepositoryMXBean)workflowRepository;
List<String> srcPaths = new ArrayList<String>(fileBasedRepo.getSourceDirs());
srcPaths.addAll(fileBasedRepo.getSourceArchiveUrls());
workflowRepositoryInfo.setSrcPaths(srcPaths);
}
DependencyInjectorInfo dependencyInjectorInfo = new DependencyInjectorInfo(engine.getDependencyInjectorType());
StorageInfo storageInfo = new StorageInfo();