开发者

Spring WebFlow: Cleanup on HttpSession invalidation

If I need to perform some resource cleanup (deleting temporary files) upon Flow completion, including when the HttpSession times out, what's the best way to do this?

FlowExecutionListener.sessionEnding() is called when an end-state is visited开发者_StackOverflow中文版, but not when the HttpSession times out.

Is there a safe way for an HttpSessionListener to access to SWF scopes?

(Spring 3.0, WebFlow 2.3)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜