This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

How to retrieve all flow definition urls?

I need to create a list of all flow definition urls after the web context has been initialized - and keep getting updates if there are any changes to the flow definitions. Is there a way to do this?

I have been looking at the XmlFlowModelBuilder and the FlowModelRegistry. In FlowModelRegistryImpl there is a private TreeMap of flowModels - actually of FlowModelHolder(s) which are capable of detecting changes to the underlying flow definitions.
However there is no way to get the entire map of flow model holders, I need to know the flowModel id before I can retrieve a flowmodel.
So either I need to: get the list of all flowModel id's (is that readily available from somewhere?), write my own registry class and provide access to the map of flowModels, or use a third approach.

Have any of you tried doing something similar before - and can you recommend what approach I should choose?