I desparately need session expiration notification! I
am storing things like JDBC connections in the session,
and I would like the opportunity to clean them up.
What is needed is either:
1) A way for me to supply my own implementation of
Session -- possibly one that 'extends' Delegate, and
2) Some sort of callback/listener for the session-death.
Honestly, the former would be preferable. It seems
that a great deal of care was taken to implement things
such as StoreFactories, MaintainerFactories, and
ModuleFactories -- but there is no way (that I can see)
to replace substitute the implementations these
It's as if an Inversion of Control pattern was
implemented all the way up to the last inch of the mile
and then left.