-
Notifications
You must be signed in to change notification settings - Fork 248
Description
Martin van Dijken opened SWF-154 and commented
We'd like to have a way of attaching a ConversationListener to our web flow configuration. The problem we'd like to fix is that when a user logs on in our system, the user record in the database is functionally locked. We have no means by which we can unlock the user when he is done.
I've been mulling this over with a colleague a little and we're halfway on a solution but are running into some problems:
The obvious way of solving this would be to use a J2EE SessionListener. Unfortunately our debugging has shown that we can't access any webflow objects from the HttpSession object nor directly from the ServletContext. What we can get to is a Spring WebApplicationContext object. From that we can get to the flowExecutor and many other objects, but we can't yet figure out how to get to the conversation this session resolves to. Any thoughts?
The second problem is how to architect this. I'll dive into this a little deeper and throw up some suggestions. It should at least look like the way the flowExecutionListeners work.
Affects: 1.0.4
Issue Links:
- Add the ability to monitor in-progress flow executions with JMX [SWF-90] #122 Add the ability to monitor in-progress flow executions with JMX
("is depended on by")
1 votes, 3 watchers