Hello, I develop a portal solution based on SWF and need to get flow and state model from flow and state id. I discovered classes FlowModel and FlowModelRegistry, as well as AbstractStateModel. But the question is how and where I can plug in to get FlowModelRegistry? Any suggestions, maybe someone already solves the same problem?