0

zk spring desktop scope predestroy

asked 2012-12-29 23:53:06 +0800

aktejo gravatar image aktejo
155 3

i tried to observe a spring bean with desktop scope by tracking the predestroy callback.

i have set the desktop and session timeout config arround 10s to help simulate desktop lifecycle

but the predestroy callback never been invoked.

i did this to make sure that my spring beans will be destroyed properly.

so, why this predestroy annotated method inside my desktop scope springbean never been invoke, when will it be invoke?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2013-01-03 03:55:42 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Can you post your spring bean code and config? what ZK & ZK Spring version are you using?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-12-29 23:53:06 +0800

Seen: 71 times

Last updated: Jan 03 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More