I have a spring boot application that dynamically creates UmlStateMachineModelFactory objects from multiple UML files.
Resource resource = new ClassPathResource(