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());