Announcement Announcement Module
No announcement yet.
How to retrieve all flow definition urls? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
    Last edited by joensson; Jan 11th, 2011, 03:43 AM.